DEV Community


Discussion on: Type-safe Payments with Next.js, TypeScript, and Stripe 🔒💸

nejurgis profile image

Thor, thank you for the post, could you maybe go into detail how would one create a payment intent with Gatsby? I need to create a custom payment form so using Stripe Checkout is not enough ..

thorwebdev profile image
Thor 雷神 Author

For this you will need a server-side component. This can be a Lambda/Netlify/Zeit function.

dabit3 image

has an example of this over at Hope that helps :)