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.