ios - 作为第三方商家在 iOS 上使用 PayPal 账户和信用卡进行 PayPal 支付

标签 ios paypal paypal-adaptive-payments

我正在尝试向我正在开发的 iOS 应用程序添加支付功能,其中一些人销售实物商品,而另一些人则购买它们,但我没有找到适合我需求的任何解决方案。

目前,我已经添加了 PayPal MPL SDK ,如所述here .

但是,MPL 库似乎提供信用卡支持,而且它的图形在 iOS7 上已经过时了。

我发现的其他选项是:

  • PayPal iOS SDK ,但它是基于REST API的,而我需要支持第三方支付并最终支持链式/并行支付,而所有这些功能都是 REST API 无法提供的

  • PayPal MEC (移动快速结帐),在 UIWebView 中使用它。

    即使它确实同时提供信用卡和 PayPal 帐户作为支付方式,我也没有找到任何方法来支持第三方支付(也就是我/应用程序是 API Caller 与另一个PayPal 帐户是收款人)。

    此外,MEC does not support parallel payments ,多个接收者等,但现在这不是问题,如果我只能将它用于第三方支付的话。

  • PayPal Adaptive Payments API,我什至尝试在没有PayPal给的SDK的情况下使用PayPal AP API,获取payKey服务器端和加载 https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-KEYUIWebView 中我。

    但是这个页面没有移动版本,所以根本无法使用。

    我什至尝试过使用嵌入式网络流,即带有&extType=mini 的网络流,但它看起来很糟糕。只是不是为此而设计的。

最后我的问题是:

如何在移动设备(本例中为 iOS)上同时支持信用卡和 paypal 帐户支付方式,如果我需要将它们作为第三方商家?

最佳答案

根据 PayPal's website关于集成第三方支持、并行和链式支付尚不支持。

MPL libraries

PayPal is replacing the old Mobile Payments Libraries (MPL) with the new PayPal Android and iOS SDKs. The new Mobile SDKs use the PayPal REST API. The MPL uses the Adaptive Payments API (a PayPal Classic API).

The new SDKs currently do not support third-party, parallel, and chained payments. To incorporate these features into your mobile apps see the MPL on GitHub and MPL documentation. Issues related to MPL should be filed in the following repository: sdk-packages

For existing Express Checkout integrations, or additional features, we recommend Mobile Express Checkout.


但是,可以通过使用 PayPalConfiguration.acceptCreditCards 属性接受/处理 PayPal 信用卡。

关于ios - 作为第三方商家在 iOS 上使用 PayPal 账户和信用卡进行 PayPal 支付,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23712348/

相关文章:

ios - 在远处使用大型 3D 模型时避免 ARkit 和 SceneKit 中的纹理和阴影闪烁

paypal - Paypal Sandbox 会更新企业帐户吗?

php - Paypal IPN 无法将货币类型从美元更改为英镑

api - 如何格式化 SOAP 请求?

paypal - 在多商家网站中集成 Paypal

paypal - 申请PayPal自适应支付,填写表格

ios - Core Data 似乎在插入后立即删除了我的数据

objective-c - iOS 6 中 NSMutableData 到 int 的转换有问题吗?

iphone - POST 请求中的 & 符号造成严重破坏

javascript - Paypal :在上下文快速结帐后留在页面上