Sandbox payment with PayPal SDK over credit card

499 Views Asked by At

I'm developing application with possibility of payments over credit card using PayPal Android SDK. For now - in sandbox. I succeed in making PayPal native payment, as long as payment confirm and refunding. 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!

2

There are 2 best solutions below

1
On BEST ANSWER

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. You can download the Paypal sdk version 2.9.11 from the link below. https://github.com/paypal/PayPal-Android-SDK

2
On

Recommend you using below tool to generate your testing credit cards: https://www.paypal-techsupport.com/app/answers/detail/a_id/750