#camer

1 messages · Page 1 of 1 (latest)

ashen axleBOT
fast junco
#

What debugging steps have you done so far? Have you looked at the network request being made and confirmed that requests are hitting your server? Have you confirmed that your requests to Stripe's API to create the Checkout SEssion are also working?

ocean wagon
#

I thought that I did but when I look at it in the dev tools I can't really tell what I am looking at. however everything works if I use constants in the line_items.

#

i can take a picture of the dev tools network section

fast junco
#

Yeah go ahead and take a picture of that

ocean wagon
#

ok

#

i didn't change anything and now I am getting a 404 error when before I was getting nothing, just a reload of the page

#

is that the network console that you meant?

#

this was after clicking the checkout button which is redirecting to the stripe checkout

fast junco
#

Backing up for a second here - how much experience do you have debugging these types of failures?

ocean wagon
#

this past week debugging this is all of my experience debugging backend

pine valley
#

can you send a screenshot of the same window before you hit the button

ocean wagon
#

yes

pine valley
#

are you using nodejs

ocean wagon
#

i found a typo and got an error so I am going to go down that rabit whole

#

yes

pine valley
#

you should see any errors on the console when it crashes

ocean wagon
#

here is after the button with the typo fixed

#

where could I learn more about debugging stuff like this?

#

I have read all of the nextjs api docs and most of the stripe docs

fast junco
#

Personally, I'd suggest pivoting to use one of our low-code solutions (Payment Links or Pricing Tables) or hiring a developer to help you with this - payments can get complicated really quickly, and it's good to have someone experience build it for you if you need something more complex

ocean wagon
#

ok

#

thanks for the help