#viniRdev-checkout-session
1 messages · Page 1 of 1 (latest)
I'm not very familiar with hygraph, but let me take a look
Are you following a tutorial somewhere? Any docs that got you this far?
I think the problem might be that you're trying to return raw html code, when JS is expecting JSON
I just wanted to understand how stripe works, so I read this docs (The video tutorial is explaining how to implement stripe, same thing as the docs) https://dev.to/stripe/type-safe-payments-with-next-js-typescript-and-stripe-4jo7 I didn't implement stripe using the products provided by hygraph (I used the price Id provided by stripe), I just followed the video instructions to understand how the stripe checkout works. but it didn't work 🥲 .... at this time of the video (https://youtu.be/sPUSu19tZHg?t=2002) I followed the exact same instructions but I was not being redirected to the checkout page.
Tutorial on building a full-stack TypeScript custom donation site with Next.js and Stripe.
Learn how to create Next.js applications in TypeScript and how to benefit from types when implementing Stripe Checkout.