#Valma

1 messages · Page 1 of 1 (latest)

split plankBOT
austere cypress
#

Hello! What do you need help with?

worldly juniper
#

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'

austere cypress
#

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?

worldly juniper
#

How can I confirm that ?

#

I loaded my server on localhost:8080

austere cypress
#

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

worldly juniper
austere cypress
#

Accessing it from that link doesn't necessarily mean the server request was successful

worldly juniper
#

How can I check that the server request was succesful

austere cypress
#

How much coding experience do you have? Debugging something like this is a crucial skill you need to build a payments integration

worldly juniper
#

I’m ok

#

But I have no experience in php and server

#

So that’s tricky

austere cypress
#

Yeah I'd recommend looking into some tutorials that walk through web development

split plankBOT