Merchant does not accept payment of this type

Kehindefrankise
Contributor
Contributor

Hi,
I am facing an issue while implementing paypal into my android app.

My Android studio logcat says -

 E/paypal.sdk: request failure with http statusCode:401,exception:
 request failed with server response:{"name":"UNAUTHORIZED_PAYMENT","message":"Unauthorized
 payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"c8e5f81811fd"}
 11-23 03:59:41.611 19687-19687/com.exbizcard.qss E/paypal.sdk: UNAUTHORIZED_PAYMENT

 It is working with sandbox client id but when I switch to live client id it is not allowing me to do payment

 My PayPal Debug-ID: c8e5f81811fd

Please help me with this.
Thanks

Login to Me Too
2 REPLIES 2

MTS_Justin
Moderator
Moderator
Hello,

Was the payment creation done with the same client_id as you're attempting to do the payment execution ?

If it's working with your sandbox client_id, then that application created the payment and is therefore allowed to execute it.

You cannot create a payment with a sandbox client_id and then execute it with a production / live client_id

Was my post helpful? If so, please give me a kudos!
Login to Me Too

KunalP
Contributor
Contributor

We are facing this same issue and no help from customer support or technical support rather.
With Sandbox api all working fine except Mastercard payments. With Live API details when user tries to make payment in android mobile application, we get MERCHANT DOES NOT ACCEPT THIS TYPE OF PAYMENT.

SAME ACCOUNT account card payment in website but not in mobile application.

There is not support received on call. Atleast i hope we get support here asap in an hour.

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.