Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

⚡️ Next.js demo for one-click moltin purchasing

License

Notifications You must be signed in to change notification settings

moltin/moltin-next-checkout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moltin-next-checkout

⚡️ Next.js demo for one-click moltin purchasing

Deploy to now

Next.js app for one-click purchases with moltin and Stripe.

Check out the demo here.

🛠 Setup

npm install

npm run dev

Create a .env file at the project root with your moltin client_id, Stripe public test key and your moltin-micro-checkout deployment URL.

MOLTIN_CLIENT_ID=
STRIPE_KEY=
MICRO_ENDPOINT_URL=https://moltin-micro-checkout.now.sh

Both a moltin and Stripe account are needed for this to function. Be sure that your Stripe keys are attached to your moltin store. Learn more about that here.

About

⚡️ Next.js demo for one-click moltin purchasing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published