Stripe Checkout not being able to work due to code error
Unanswered
Birman posted this in #help-forum
BirmanOP
https://petal-events.netlify.app/product
This is my product page. I am adding Stripe Checkout. When I click "Go to Checkout" it will give error and I can't figure out why
Navbar.js code:
https://pastebin.com/6Qk3HE89
This is my product page. I am adding Stripe Checkout. When I click "Go to Checkout" it will give error and I can't figure out why
Navbar.js code:
https://pastebin.com/6Qk3HE89
4 Replies
@Birman https://petal-events.netlify.app/product
This is my product page. I am adding Stripe Checkout. When I click "Go to Checkout" it will give error and I can't figure out why
Navbar.js code:
https://pastebin.com/6Qk3HE89
you need to show your codebase of api route, not navbar.js
api/checkout
- show me the codebase of this api routeBirmanOP
api/checkout/route.js:
https://pastebin.com/9PSfx9aP
https://pastebin.com/9PSfx9aP
@Birman api/checkout/route.js:
https://pastebin.com/9PSfx9aP
see the error message in your original screenshot. also your pastebin is not available now