New to the community? Welcome! Please read our Community Rules and Guidelines
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!
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?
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!