Unauthorised Payment Error shown in Live Environment.

Usertest1
Contributor
Contributor

I am using Paypal SDK of version 2.14.2 in my native Android Application. I succesfully got the the response on Sandbox environment, but when I moved into Live, then I got the error - "UNAUTHORIZED_PAYMENT",when I make payment via Credit/Debit card.The complete message is  - 

{"name":"UNAUTHORIZED_PAYMENT","message":"Unauthorized payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"106a7750a4ad5"}

Currency Code I am using my app and account itself is Newzeland(NZD).

 

Please help me for the same. Any help is appreciated.

 

Thanks

 

Login to Me Too
1 REPLY 1

MTS_joaquim
Moderator
Moderator

Hello @Usertest1,

 

Direct credit card payment using REST API requires to have a PayPal payment Pro account which are unforutnately available only in USA, UK and Canada.

 

Source :
https://developer.paypal.com/docs/integration/direct/rest-api-payment-country-currency-support/#dire...

 

I would therefore invite you to consider the use of our alternative solution Braintree which allows you to integrate the same features from your country :
- https://www.braintreepayments.com/

 

Did you find my answer helpful? If so, please don't forget to leave me a Kudo in order to increase this answer's visibility.

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.