PayPal Checkout Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to add PayPal Checkout buttons to my website hosted on GoDaddy.
I have copied the files and entered my client id and secret as stated.
I can view the buttons but get an error
Could not initiate PayPal Checkout...
SyntaxError: The string did not match the expected pattern.
Any help on this would be much appreciated.
Thank You

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @kevlar4,
Thank you for posting to the PayPal community.
I strongly recommend that you thoroughly verify the integration between your website developer and your hosting platform (GoDaddy) to ensure that everything is set up correctly. Additionally, it is crucial to confirm that the API calls being made to the PayPal system are valid and accurate.
If you are still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detailed information and error details.
Sincerely,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Error message for obtaining access_token in REST APIs
- Couldn't receive International payment in PayPal Payments Standard
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Things don’t appear to be working at the moment in PayPal Payments Standard