Error 400 on Sandbox Account while payment

jayesh_94
Contributor
Contributor

I am integrating PAYPAL in android App. I created one sandbox account for testing, flow is good but after charge card button click on SDK it show error like "Vendor account dose not have a confirm email". This is the debug id : 46edc67b0f756 got on dashboard. Please look into the attached image also for reference.

 

Integrated in Android by Github linkhttps://github.com/paypal/PayPal-Android-SDK

 

Thanks

 

 

 

 

 

error getting on Dashboarderror getting on Dashboarderror getting on Dashboard Error on android app 

Login to Me Too
2 REPLIES 2

MTS_Jennifer
Moderator
Moderator

Hi @jayesh_94,

Thank you for posting to the PayPal Community.

The API for direct credit cards using v1 payments is no longer available. The sandbox account that is attempting to process these payments is not setup for Direct Credit Cards through Rest API. The use of the PayPal REST /payments APIs to accept credit card payments is restricted. 

You can accept payments through Braintree direct or V2 Orders Advanced Debit and Credit Cards

Here is the documentation:

https://developer.paypal.com/docs/checkout/advanced/

 

Using Rest V2 here is the PayPal Native SDK:

https://developer.paypal.com/limited-release/paypal-mobile-checkout/android/server-side/

 

The sandbox account will need to be a business account from a region that is eligible for Advanced Credit and Debit Cards.

https://developer.paypal.com/docs/checkout/advanced/#link-eligibility

 

Thank you,

Jennifer

MTS

PayPal

 

Login to Me Too

jayesh_94
Contributor
Contributor
Thanks gor the reply I have one more doubt that when I integrate v2 paypal native sdk, is credit card and debit card payment available?. I tried to integrate native sdk and shows only paypal login button so there will be credit and debit card payment method oru account with paypal holder cane only be able to pay???
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.