REST API - UNAUTHORIZED_PAYMENT Error

Adnetis
Contributor
Contributor

Hi,

 

We first create a creditcard in vault without any error then we enter the payment.

 

When we test the /v1/payments/payment command in sandbox it is working. But when we try it live, we get the error :

 

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

 

How can we solve this ? How can we have more details on the error ?

 

Thank you !

Login to Me Too
3 REPLIES 3

MTS_Andre
Moderator
Moderator

Hi, in this case the error is returned because to call a payment creation with "payment_type : credit_card" you need a LIVE PRO account.

Login to Me Too

KB242
Contributor
Contributor

I'm having the same issue with Unauthorized Payment Error..only the debug-ID is 510452c39a97c...Can someone assist with the correct course of action to rectify,please?

Login to Me Too

KASHINGCHAN
New Community Member

Where do I know my account is a live pro

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.