在 Adob​​e Flex 中集成 Paypal API [英] Integrating Paypal API in Adobe Flex

查看:26
本文介绍了在 Adob​​e Flex 中集成 Paypal API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个 Flex 项目,在该项目中我需要通过他们的 API 与 Paypal 进行通信.真的不知道如何开始 - 这是我的第一个 flex/air 应用程序.

I am writing a Flex project in which I need to communicate with Paypal via their APIs. Really not sure how to start with - this is my first flex/air application.

我不会使用任何服务器端技术(不使用 Java、Php、.NET、Coldfusion)——所有请求都必须来自 Flex,并且响应将直接发送回 flex 应用程序.

I won't be using any server side technology (no Java, Php, .NET, Coldfusion) - all of the requests have to come from Flex and the response be sent back directly to the flex application.

有人可以给我一个例子或什么开始.假设 RefundTransaction API 的实现

Can someone please give me an example or something to start with. Let's say implementation of RefundTransaction API

在 Flex 中.

有可能吗?如果没有,那么我需要在技术堆栈中添加哪一层?只需要一些指示,我就会从那里接过来.

Is it possible? If not, then what layer do I need to add to the technology stack? Just need some pointers and I will pick it up from there.

谢谢

推荐答案

一定要看看这篇文章 http://www.adobe.com/devnet/flex/articles/flex_paypal.html

基本上也需要自己解决这个问题.BIG, BIG, BIG(足够大)密钥之一是不要在应用程序的任何位置(或其他敏感信息)包含您的 API 密钥.这是使用 JIT 语言的缺陷之一,因为它基于虚拟机,因此不能非常有效地隐藏.

Essentially will need to figure this out myself as well. One of the BIG, BIG, BIG (big enough for ya) keys is to NOT include your API key anywhere in the application (or other sensitive info). This is one of the pitfalls with using a JIT language because it's based on a VM it can't be hidden very effectively.

这篇关于在 Adob​​e Flex 中集成 Paypal API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆