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.
- Sandbox testing has beaten me !! in Sandbox Environment
- PayPal Buttons not visible in Sandbox Environment
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- Multiple locations to same email address result in one client only. in SDKs
- Change the button from Sandbox to Production in REST APIs