Permission denied (403) error with Express Checkout

formadev
Contributor
Contributor

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!

Login to Me Too
10 REPLIES 10

gspeed
New Community Member

Me too, the very same code works with my personal paypal account sandbox id but when I put the business account sandbox id I get the 403 error and json below (from https://www.sandbox.paypal.com/v1/payments/payment😞


{"name":"PERMISSION_DENIED","message":"No permission for the requested operation","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"b51505b8436c7"}

 

Any clue?

Login to Me Too

sharonhuang
New Community Member

I have the same problem, the repsonse is {"name":"PERMISSION_DENIED","message":"No permission for the requested operation","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"319f4df33a38a"}

Login to Me Too

maskeddeveloper
Contributor
Contributor

Did anyone ever figure out a fix? I'm getting the sam thing

Login to Me Too

sargilla
New Community Member

I have the same problem, when i try with a old client_id of another app works fine.

Dont work with new apps.

Please some help us!

Regards

Login to Me Too

jsaintprix
New Community Member

Chunks1
Contributor
Contributor

Same issue, anyone know how to cure?

Login to Me Too

Garybak
Contributor
Contributor

Same issue - please someone .. help!

Login to Me Too

miamibc
Member
Member

Well, the same problem.

 

My own account (sandbox and production) works fine, but not a client one.

 

Application permissions is just the same as in my account, i tried regenerate credentials, removed and add new application, checked all logs, waited a hour to changes to take effect - all with no success. Error on creating payment (client side api) drops error but description is not informative

"name": "PERMISSION_DENIED",

"message": "No permission for the requested operation"

 

I sent message to support, hope they can suggest something.

Login to Me Too

Garybak
Contributor
Contributor

I found this posted on another thread ...

 

"

Hi don't know why Paypal isn't posting this within this thread: but seems they are working on it

 

https://www.paypal-status.com/incident/sandbox

"

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.