Different Client IDs, one works the other doesn't, why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am testing an integration using this code:
https://developer.paypal.com/demo/checkout/#/pattern/client
This works fine using some old API credentials I setup, but if I create a new app then the new credentials don't work.
Can you not just change the API credentials in the code?
What am I missing here?
My original credentials (sandbox and live) work ok, but these I use to test integrations, I need my client to create an a REST API app and to send me the credentials, this didn't work.
So i thought, i'd create another app to see if I could get it working using the new client ID's, but it doesn't work.
I receive the following errors:
POST https://www.sandbox.paypal.com/v1/payments/payment 403 (Forbidden)
Uncaught Error: Error: Request to post https://www.sandbox.paypal.com/v1/payments/payment failed with 403 error. Correlation id: 4f881b8bee84c, 4f881b8bee84c
{
"name": "PERMISSION_DENIED",
"message": "No permission for the requested operation",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"debug_id": "4f881b8bee84c"
}
Anyone any idea whats wrong?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Error message for obtaining access_token in REST APIs
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Paypal create transaction with QR - API in REST APIs
- PHP SDK error: broken content-length header in SDKs