- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sandbox for PayPal Express is not working for client and server side. The pop up window automatically closes. Production works fine.
Try it here: https://developer.paypal.com/demo/checkout/#/pattern/client
Console says: Failed to load resource: the server responded with a status of 400 (Bad Request)
Is there something happening today that has sandbox actions down?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies, this was an temporary issue which we've since been able to resolve. It should work as normal again now.
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can some help? im having this erro too, but the paypal status says that sandbox is operational.
Error: Error: Request to post https://www.sandbox.paypal.com/v1/oauth2/token failed with 400 error. Correlation id: 5fdea2a4b284a, 5fdea2a4b284a
{
"error": "invalid_client",
"error_description": "Client credentials are missing"
}
at XMLHttpRequest.<anonymous> (https://www.paypalobjects.com/api/checkout.js:14229:39)
at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:3192:31)
at receiveMessage (https://www.paypalobjects.com/api/checkout.js:2742:60)
at messageListener (https://www.paypalobjects.com/api/checkout.js:2763:13)
at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:3192:31)
at receiveMessage (https://www.paypalobjects.com/api/checkout.js:2742:60)
at messageListener (https://www.paypalobjects.com/api/checkout.js:2763:13)
at XMLHttpRequest.<anonymous> (https://www.paypalobjects.com/api/checkout.js:14229:39)
at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:3192:31)
at receiveMessage (https://www.paypalobjects.com/api/checkout.js:2742:60)
at messageListener (https://www.paypalobjects.com/api/checkout.js:2763:13)
at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:3192:31)
at receiveMessage (https://www.paypalobjects.com/api/checkout.js:2742:60)
at messageListener (https://www.paypalobjects.com/api/checkout.js:2763:13)
at deserializeError (https://www.paypalobjects.com/api/checkout.js:3458:23)
at https://www.paypalobjects.com/api/checkout.js:3479:270
at https://www.paypalobjects.com/api/checkout.js:3324:30
at eachArray (https://www.paypalobjects.com/api/checkout.js:3307:51)
at each (https://www.paypalobjects.com/api/checkout.js:3313:35)
at replaceObject (https://www.paypalobjects.com/api/checkout.js:3323:13)
at https://www.paypalobjects.com/api/checkout.js:3325:169
at eachObject (https://www.paypalobjects.com/api/checkout.js:3310:65)
at each (https://www.paypalobjects.com/api/checkout.js:3313:144)
at replaceObject (https://www.paypalobjects.com/api/checkout.js:3323:13)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same here! Since yesterday (2018.04.25) sandbox doesn't work. And on the interactive demo site only the Braintree demo works the client and serverside REST demo also fails with bad request. Please fix this because I want to test my intengration and not with a production account. If you changed something on the API please update the documentation and/or the live demo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Having excactly the same problem. When clicking the Express Checkout button, the window opens for a sec and then closes again. Console shows error 400 for oauth:
POST https://www.sandbox.paypal.com/v1/oauth2/token 400 (Bad Request)
Problem is both on my dev project and on the Paypal Dev demo site: https://developer.paypal.com/demo/checkout/#/pattern/client
When I switch to production mode, everything works fine. But I need the sandbox for testing as we are still in the dev phase.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just tried it a few moments ago and it works again thankfully.
The biggest headache about this was the popup window just disappearing without reason and forcing me to initially believe the error was mine. As a suggestion, display errors within that window for sandbox testing instead of automatically closing it. This would be quite helpful during development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies, this was an temporary issue which we've since been able to resolve. It should work as normal again now.
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard
- Platform Marketplace integration approval in Sandbox Environment
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard