简体   繁体   English

使用PayPal账户和iOS上的信用卡作为第三方商家支付PayPal

[英]PayPal payments with both PayPal Accounts and Credit Cards on iOS as a third-party merchant

I'm trying to add payments to an iOS App I'm developing, where some people sell physical goods, and other ones buy them, but I didn't find any solution that fits my needs. 我正在尝试向我正在开发的iOS应用程序添加付款,其中有些人销售实体商品,而其他人购买它们,但我没有找到任何符合我需求的解决方案。

Currently, I've added the PayPal MPL SDK , as described here . 目前,我已经添加了贝宝MPL SDK ,如所描述这里

However, the MPL library seems to not provide Credit Card support, furthermore its graphic is so outdated on iOS7. 但是,MPL库似乎提供信用卡支持,而且它的图形在iOS7上已经过时了。

Other options I found are: 我发现的其他选择是:

  • PayPal iOS SDK , but it's based on the REST API , while I need to support third-party payments and eventually chained/parallel payments, and all these features are not available with the REST API . PayPal iOS SDK ,但它基于REST API ,而我需要支持第三方支付和最终链接/并行支付,并且REST API不提供所有这些功能。

  • PayPal MEC (Mobile Express Checkout) , using it inside an UIWebView . PayPal MEC (Mobile Express Checkout) ,在UIWebView使用它。

    Even if it does provide both Credit Card & PayPal Account as payment methods, I didn't find any way to support third-party payments (aka me/the app being the API Caller with another PayPal account being the Receiver ). 即使它确实提供信用卡和PayPal帐户作为付款方式,我也没有找到任何方式支持第三方付款(也就是我/该应用程序是API Caller ,另一个PayPal帐户是Receiver )。

    Furthermore, MEC does not support parallel payments , multiple receivers, etc., but for now this would not be a problem, If I only could use it with third-party payments. 此外,MEC 不支持并行支付 ,多个接收器等,但目前这不是问题,如果我只能将它用于第三方支付。

  • PayPal Adaptive Payments API , I even tried to use PayPal AP API without the SDK given by PayPal, obtaining the payKey server-side and loading https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-KEY inside an UIWebView by myself. PayPal自适应支付API ,我甚至尝试使用没有PayPal提供的SDK的PayPal AP API ,获得payKey服务器端并加载https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-KEY我自己在UIWebView内的https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-KEY

    However this page hasn't a mobile version, so it's simply unusable. 但是这个页面没有移动版本,因此它几乎无法使用。

    I've tried even using the embedded webflow , the one with &extType=mini , but it looks awful. 我甚至尝试使用嵌入式webflow ,一个带有&extType=mini ,但它看起来很糟糕。 Just not designed for this. 只是不是为此而设计的。

In conclusion my question is: 总之,我的问题是:

How can I support both credit cards & paypal accounts payment methods, on mobile devices (iOS in this case), if I need to handle them as a third-party merchant ? 如果我需要将它们作为第三方商家处理,我如何在移动设备 (本例中为iOS)上支持信用卡和PayPal帐户付款方式?

According to PayPal's website regarding integration third-party support, parallel, and chained payments are not supported yet. 根据PayPal的网站关于集成第三方支持,并不支持并行和链式支付

MPL libraries MPL库

PayPal is replacing the old Mobile Payments Libraries (MPL) with the new PayPal Android and iOS SDKs. PayPal正在用新的PayPal Android和iOS SDK取代旧的移动支付库(MPL)。 The new Mobile SDKs use the PayPal REST API. 新的Mobile SDK使用PayPal REST API。 The MPL uses the Adaptive Payments API (a PayPal Classic API). MPL使用Adaptive Payments API(PayPal Classic API)。

The new SDKs currently do not support third-party, parallel, and chained payments . 新的SDK 目前不支持第三方,并行和链式支付 To incorporate these features into your mobile apps see the MPL on GitHub and MPL documentation . 要将这些功能合并到您的移动应用程序中,请参阅GitHub上MPLMPL文档 Issues related to MPL should be filed in the following repository: sdk-packages 与MPL相关的问题应归档于以下存储库: sdk-packages

For existing Express Checkout integrations, or additional features, we recommend Mobile Express Checkout . 对于现有的Express Checkout集成或其他功能,我们建议使用Mobile Express Checkout


However , one could accept/process credit cards with PayPal by using PayPalConfiguration.acceptCreditCards property. 但是 ,可以使用PayPalConfiguration.acceptCreditCards属性接受/处理使用PayPal的信用卡。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将资金分为两部分:PayPal iOS SDK:一部分在商家帐户中,另一部分在第三方帐户中 - Transfer money into two parts PayPal iOS SDK : one part is in merchant account and another in third party account 是否可以在第三方应用程序中阻止iOS上的特定邮件帐户? - Is it possible to block specific mail accounts on iOS in a third-party app? 错误 - Paypal 中的“商家不接受此类付款” - Error - “The merchant does not accept payments of this type” in Paypal 第三方库导入iOS - Third-party library into iOS 在 PayPal 中启用信用卡付款会导致模拟器和物理设备崩溃 - Enabling payments with a credit card in PayPal gives crash on both simulator and physical device PayPal iOS信用卡无法使用 - PayPal iOS Credit Card not working Paypal ios SDK即使调用[PayPalMobile clearAllUserData]也不会清除以前使用的信用卡 - Paypal ios SDK not clearing previously used credit cards even after call to [PayPalMobile clearAllUserData] 使用paypal App store指南的ios和android支付 - ios and android payments with paypal App store Guidelines Paypal iOS SDK是否支持并行付款? - Does Paypal iOS SDK support parallel payments? 协助PayPal自适应付款-iOS和Android开发 - Assistance with PayPal Adaptive Payments - IOS and Android development
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM