When clicking on a payment button generates error: Unexpected token ...

wesparsons77
New Community Member

When clicking on a payment button I get a response message: Could not initiate PayPal Checkout... SyntaxError: Unexpected token '<', "

Everything works fine in the Sandbox but when I go live on my site I get this erros when a payment button is clicked. I checked bothe the app.js and server.js files and I'm getting all the correct data for the product sale. The error seem to be coming from the token creation section and I don't know what needs to be done in order to correct this. Any help would be great... Thanks.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.