- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm trying to make this script work on my server. The code looks fine, and their live demo (codexworld's) works fine, however on my server it doesn't.
When making the sandbox payment, I receive a 500 (Internal Server Error) when the script tries to validate the payment (paypal_checkout_validate.php). There is also this message in the browser's (Chrome) console: SyntaxError: Unexpected end of JSON input (index.php).
As far as I can see, the file permissions and the code are fine. What can be the issue the issue?
These is my testing environment (not working) and their testing page (working). I'd have asked the Codexworld since it's their code, but they seem to charge for support, even though they offer this script for free.
Solved! Go to Solution.
Accepted Solutions
![Moderator Moderator](https://www.paypalobjects.com/webstatic/icon/pp32.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Josephtrevize
Thank you for posting to the PayPal community.
I would like to suggest you try again to address the issue you are currently facing by following the below steps:
1)Clear web browser cache and cookies
2)Use a different browser
3)Access website in private/safe mode
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
![Moderator Moderator](https://www.paypalobjects.com/webstatic/icon/pp32.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Josephtrevize
Thank you for posting to the PayPal community.
I would like to suggest you try again to address the issue you are currently facing by following the below steps:
1)Clear web browser cache and cookies
2)Use a different browser
3)Access website in private/safe mode
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
![](/skins/images/0FF1A2F377A75DEEE7D9B96ED67745BD/responsive_peak/images/icon_anonymous_message.png)
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Card issues open Guest Checkout popup in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Sandbox payments not completing; Opencart 3.0.4.0 and PayPal Checkout Integration V3.0.2 in Sandbox Environment
- Access Token Working to Generate Client Token but not Orders in REST APIs
- Always Sorry Something Went Wrong in Prestashop Checkout or Paypal Official Module in PayPal Payments Standard
- How can I remove the Ship to Billing Address on the PayPal Checkout? in REST APIs