Issues in "production" mode PERMISSION_DENIED error.

Kimbo60
Contributor
Contributor

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!

Login to Me Too
2 REPLIES 2

medialoot
Contributor
Contributor

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?

Login to Me Too

medialoot
Contributor
Contributor

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!

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.