Pay later in Paypal sandbox displays json in window after clicking on pay now, how to fix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm attempting to integrate PayPal smart buttons. All works fine in the sandbox with the exception of pay later. When I click on pay later, login and choose to pay now, json is displayed in the paypal popup window (see below).
However, using the same sandbox account on the PayPal demo it works fine.
I can't find very much information on this at all. I'm using server side code to create the order and capture the payment, works fine for everything else.
Do I need to anything specific to handle pay later?
- Labels:
-
SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't need to integrate differently for Pay Later. If the other buttons work, Pay Later will work. If testing Pay Later is not working in sandbox that's a sandbox testing issue, not a live/production issue.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Unable to manually refund on the sandbox page in Sandbox Environment
- Playwright test failing in headless mode due to Paypal button in SDKs
- [BUG] Sandbox subscription create checkout session - Error 400 in Sandbox Environment
- Using Sandbox credentials at checkout loops PayPal to sign up page in Sandbox Environment
- Using the api to make payments works in Sandbox but not in Live in REST APIs