简体   繁体   English

使用PayPal SDK通过信用卡进行沙箱付款

[英]Sandbox payment with PayPal SDK over credit card

I'm developing application with possibility of payments over credit card using PayPal Android SDK. 我正在开发使用PayPal Android SDK通过信用卡付款的应用程序。 For now - in sandbox. 现在-在沙箱中。 I succeed in making PayPal native payment, as long as payment confirm and refunding. 只要付款确认并退款,我就能成功进行PayPal本机付款。 But i cannot make a sandbox payment using credit card. 但是我无法使用信用卡付款。 No errors, no logs - after payment confirm activity just closes with no any intent data or so, and returning me to payment method choosing screen. 没有错误,没有日志-付款确认活动结束后,没有任何意图数据,因此,我回到了付款方式选择屏幕。 I tried to use some dummy credit card data there, and a real credit card too. 我试图在那儿使用一些虚拟的信用卡数据,也使用真实的信用卡。 Can you help me with that issue? 您能帮我解决这个问题吗? Can a reason be that my account belongs to country with disabled direct card payment (according to documentation, it's enabled for sandbox)? 原因可能是我的帐户属于直接信用卡付款被停用的国家/地区(根据文档,该帐户已启用沙箱功能)? Thank you! 谢谢!

建议您使用以下工具生成测试信用卡: https : //www.paypal-techsupport.com/app/answers/detail/a_id/750

Hey i was having same issue but it there was actually some issues in paypal sdk 2.9.10 Paypal sdk version 2.9.11 is working fine with credit card payments. 嘿,我遇到了同样的问题,但是在Paypal sdk 2.9.10中实际上存在一些问题。Paypalsdk 2.9.11版可以用信用卡付款。 You can download the Paypal sdk version 2.9.11 from the link below. 您可以从下面的链接下载Paypal sdk版本2.9.11。 https://github.com/paypal/PayPal-Android-SDK https://github.com/paypal/PayPal-Android-SDK

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM