Issues in "production" mode PERMISSION_DENIED error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Issue linking bank account in PayPal Upgrade Community
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- QR Code Issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- iDEAL payments being refunded back to customers in PayPal Payments Standard
- Unable to issue a refund from our business sandbox account in Sandbox Environment