This is an example of an E-commerce shop that uses the stripe.js library and Next.js.
To build this yourself follow the instructions on andrewford.co.nz.
Create an environment variable file called .env.local
and add the following, adding your own Stripe keys:
STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
HOST=http://localhost:3000