Title: SyntaxError: Unexpected token
Last modified: August 31, 2016

---

# SyntaxError: Unexpected token

 *  [kllattner](https://wordpress.org/support/users/kllattner/)
 * (@kllattner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/)
 * Hi There,
 * I’m a newbie to web development just an FYI. I’ve have my sandbox API credentials
   and Live credentials set up for Pay Pal Pro. After entering all the checkout 
   information in the front end I get the following message at the top:
 * SyntaxError: Unexpected token <
 * my website is[baronsupply.com](http://baronsupply.com)
    Could sure use some help!
   Thanks
 * [https://wordpress.org/plugins/paypal-for-woocommerce/](https://wordpress.org/plugins/paypal-for-woocommerce/)

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

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183718)
 * It seems as though you have a jQuery conflict happening. Are you familiar with
   firebug? Please provide the URL to your site and I can use Firebug to try and
   troubleshoot the problem if you are not familiar with that process.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183719)
 * Oh I see that you did provide your site URL. Unfortunately I am not at a computer
   at the moment (responding from my phone) but I will take a look as soon as I 
   can.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183753)
 * It seems you have something else going on with your site / cart that is keeping
   me from even running a full test..??
 * I went through and added an item to the cart, but then when I view the cart it’s
   telling me the cart is empty, so I can’t even get to the checkout form.
 * I would recommend that you disable any other plugins you have running and keep
   only the bare minimum plugins required to complete checkout enabled for testing.
   If everything works that way, then re-enable each plugin one at a time until 
   the problem(s) return. Then we’ll know the culprit and can further troubleshoot
   what the exact problem is.
 *  Thread Starter [kllattner](https://wordpress.org/support/users/kllattner/)
 * (@kllattner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183756)
 * Hi Thanks for taking your time and looking into this for me.
 * Wow, thats a new one for me. I’m not sure why its removing products from the 
   cart. I will try to disable extra plugins and try that first.
 *  Thread Starter [kllattner](https://wordpress.org/support/users/kllattner/)
 * (@kllattner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183818)
 * Unfortunately, after deactivating all plug-ins I am still having the same error.
   I left the simple woocommerce plug in along with the Pay Pal for Woo commerce.
 * The Paypal process does work and I am able to process payment, but the credit
   card payment does not work. Could there be an issue with our SSL certificate?
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183822)
 * Are the items staying in your cart the way they should now so I can try to troubleshoot
   with Firebug?

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

The topic ‘SyntaxError: Unexpected token’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-for-woocommerce_dce4f5.svg)
 * [PayPal for WooCommerce](https://wordpress.org/plugins/paypal-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-for-woocommerce/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-19/#post-7183822)
 * Status: not resolved