cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in "production" mode PERMISSION_DENIED error.

Contributor

Issues in "production" mode PERMISSION_DENIED error.

Having a bit of a weird issue with production mode using REST. - This error has suddenly started appearing after having had about a year of perfect operation of an online cart.

 

The issue is not present in sandbox and it works perfectly fine. - The issue is only in production mode, payments are going through fine, just when it is supposed to return the information about the payment to the webpage, it gives this error meaning I am unable to feedback to the website's database the information about the purchase.

 

Error given in the console after payment is made is this:

 

"Error: PERMISSION_DENIED at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:2569:31) at receiveMessage (https://www.paypalobjects.com/api/checkout.js:2614:60) at messageListener (https://www.paypalobjects.com/api/checkout.js:2635:13)"

 

Any help would be greatly appreciated!

2 REPLIES 2
Contributor

Re: Issues in "production" mode PERMISSION_DENIED error.

I am having the exact same issue. My system worked perfectly until about a week and a half ago. There are no errors while using the sandbox credentials. Have you found any solutions yet?

Contributor

Re: Issues in "production" mode PERMISSION_DENIED error.

I think I just resolved this. I was submitting the .execute() request before the .get() request. I switched their order and it now seems to be working without those errors. I hope this helps someone else!