stripe-samples/checkout-netlify-serverless

Getting a Bad Request, Missing form - Integrating Stripe

roycejwilliams opened this issue · 0 comments

Hey, so I am creating a simple e-commerce site by integrating stripe. My problem is that every time I click “checkout” it throws me an error of “Bad request, missing form error”. I was told I didn’t need any redirects for stripe because it’s a serverless function and was also told that I place the .env file before my .gitignore which could be causing problems as well. I’ve been working on this for months and am trying to finish this up.

I didn't exactly follow what you have but it's similar.