Title: SyntaxError: JSON.parse after PayPal payment
Last modified: September 25, 2020

---

# SyntaxError: JSON.parse after PayPal payment

 *  Resolved [mariaklim](https://wordpress.org/support/users/mariaklim/)
 * (@mariaklim)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-json-parse-after-paypal-payment/)
 * Hello,
 * From time to time, customers get the next error after returning back from the
   Paypal payment login window: “SyntaxError: JSON.parse: unexpected character at
   line 1 column 1 of the JSON data”.
 * Any idea what could be causing it?
 * Thank you in advance. kind regards

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [EastOfWest a11n](https://wordpress.org/support/users/eastofwest/)
 * (@eastofwest)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-json-parse-after-paypal-payment/#post-13461666)
 * Hi there,
 * It sounds like the expected response is not given. Which flavour of PayPal are
   you using (the built-in PayPal Standard, perhaps a plugin like PayPal Checkout,
   etc.), and what types of products are being bought (simple, variable, subscriptions)?
 * In the meantime, double-check your settings for your payment gateway, making 
   sure that all settings from APIs and IPNs are correctly in place.
 * If you could share a screenshot that shows the error, that would help. You can
   upload the screenshot to your media library and share the link with us, or you
   can use a service like Droplr ([https://droplr.com/](https://droplr.com/)) or
   CloudApp ([https://www.getcloudapp.com/](https://www.getcloudapp.com/)) to share
   the image file.
 * Your System Status Report would also be insightful, which you can find at WP 
   Admin » WooCommerce » Status, select “Get system report” and then “Copy for support”.
 *  [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * (@amandasjackson)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-json-parse-after-paypal-payment/#post-13494730)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SyntaxError: JSON.parse after PayPal payment’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [json](https://wordpress.org/support/topic-tag/json/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * 2 replies
 * 3 participants
 * Last reply from: [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-json-parse-after-paypal-payment/#post-13494730)
 * Status: resolved