cancel
Showing results for 
Search instead for 
Did you mean: 

UNPROCESSABLE_ENTITY error with PayPal buttons

Options
mavstuff
Contributor
Posted on

Hi there! 

 

I am trying to integrate PayPal "Pay Now" JavaScript button on my website. It is working fine with Sandbox accounts but after change to live addresses and credentials it fails with 422 UNRPOCESSABLE_ENTITY error. 

The error in detail:

{
   "name":"UNPROCESSABLE_ENTITY",
   "details":[
      {
         "issue":"TRANSACTION_REFUSED",
         "description":"The request was refused"
      }
   ],
   "message":"The requested action could not be performed, semantically incorrect, or failed business validation.",
   "debug_id":"89ce0ee1f221",
   "links":[
      {
         "href":"https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED",
         "rel":"information_link",
         "method":"GET"
      }
   ]
}

 What could be the issue for this?

Haven't Found your Answer?

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