1. 22
    Accept Payments through Stripe Checkout using Next.js API Routes
    4m 44s

Accept Payments through Stripe Checkout using Next.js API Routes

InstructorShadid Haque

Share this video with your friends

Send Tweet

You will implement stripe checkout in your application so that customers can buy products.

To do this, you will first create a Next.js API route that starts a stripe session and passes in products that are in the cart. This will forward users to the Stripe checkout page where they can input their credit card information.

Upon success or cancel, stripe will forward the user back to urls that you set.