Permission denied (403) error with Express Checkout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am setting up Express Checkout, but these past 2 days I am receiving a Permission denied (403) error when I click the PayPal button. It is supposed to launch the pop-up window for logging in, however it auto-closes after a second, and it returns an error in the console saying:
Request to post https://www.sandbox.paypal.com/v1/payments/payment failed with 403 error.
"name": "PERMISSION_DENIED",
"message": "No permission for the requested operation"
A few days into the build, this was working, but now it is always that error. I created a PayPal REST API app here:
https://developer.paypal.com/developer/applications/create
... and I am using the Client IDs from the sandbox and from the live tab. If I switch the setting "env" to "production", I get the same error.
To make sure this is not an error in my code, I run the test here:
https://developer.paypal.com/demo/checkout/#/pattern/client
... by replacing the "sandbox" and "production" values with my own. But it is still the same, when I click on the button, it always returns the "permission denied" error, like there is something wrong with the account's permissions.
I spent a couple of days looking through the account settings, trying to find if something was wrong, or disabled, or if some info is missing, but I can't find the cause there. I have run out of options.
Can you please help me?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I resolved my issue by Base64 encoding of (client id and secret key)
Basic+base64encoding(clientKey+:+secretkey)

- « Previous page
-
- 1
- 2
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Express Error #10413 when people use a discount code on my Magento2 store in PayPal Payments Standard
- PERMISSION_DENIED error for checkout/orders/{order_id} endpoint in REST APIs
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Unable to test successful payments using sandbox personal accounts in NVP/SOAP APIs