Closed GemiDroid closed 7 years ago
Direct Credit Card payments are not supported for all countries please see https://developer.paypal.com/docs/faq/#international-developer-questions.
What country is the REST App for? It could be an issue with the Live app settings.
Do your PayPal payments work?
In developer.paypal country registered for Buyer and Merchant is USA , but Live account country is UAE (United Arab Emirates)
It works fine for SandBox and in Live not working
The Merchant Account needs to go https://developer.paypal.com/developer/accountStatus/.
Then request to get Enabled for Direct Credit Cards in the Live column.
Note: Direct credit card processing is not available when you use REST APIs. Although your sandbox credentials work for testing, your live credentials do not work for direct credit card processing for your country.
You should still be able to accept PayPal payments with this SDK if that is the case.
For Direct Credit Cards you might be able to see if you are eligible for Braintree https://www.braintreepayments.com/. Braintree is a PayPal company.
Here are some instructions for disabling direct card payments https://github.com/paypal/PayPal-Android-SDK#disabling-direct-credit-card-payments in this SDK.
If I disabled Direct Credit Cards in my app, is that mean that all client (Buyer) must have PayPal account to pay to Merchant ??
Yes, I do not see Guest Checkout option in my testing.
Please, to make sure that I understood well .. 1- If I need to provide DCC should use Braintree SDK not PayPal SDK ? 2- All buyers using my app and need to pay should have PayPal Account ?
1- If I need to provide DCC should use Braintree SDK not PayPal SDK ?
Yes, but make sure you are eligible for credit card payments before integration work.
2- All buyers using my app and need to pay should have PayPal Account ?
From my testing that is the case, I do not see a Guest Checkout option.
Thanks a lot @pp-randy and sorry if I interrupted you :)
No problem. I hope you are able to get a solution figured out.
The issue in detail :
1- I have a business account for a company located in arabic country, they created their app on developer.PayPal then I created an business account and get Client ID, and make this in code
private static final String CONFIG_ENVIRONMENT = PayPalConfiguration.ENVIRONMENT_PRODUCTION;
2- I tried my Visa to check transaction but get in log like in img, also get message as :