#Valma
1 messages · Page 1 of 1 (latest)
Hello! What do you need help with?
So I've set up a checkout session integration but when I click on the checkout button nothing happens and I get the error message 'Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'
You can check my code at -> https://github.com/Molpo456/Stripe
That usually means your request to your server failed
What debugging have you done - have you confirmed that the request to your server was successful?
What do you mean by that ?
Have you done any debugging to make sure every part of your integration works?
That's the first step I'd recommend - verifying that you get a successful response back from your server
Well yeh because I can access it on http://localhost:8080
Accessing it from that link doesn't necessarily mean the server request was successful
How can I check that the server request was succesful
How much coding experience do you have? Debugging something like this is a crucial skill you need to build a payments integration
Yeah I'd recommend looking into some tutorials that walk through web development