Skip to content

This is a starter code for configuring stripe payment gateway to use custom products when creating checkout session using stripe prebuilt checkout page

License

Notifications You must be signed in to change notification settings

kyawzin-thiha/stripe-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe Payment Starter Code Live URL

This is a starter code for configuring stripe payment gateway to use custom products when creating checkout session using stripe prebuilt checkout page. In the example, I've also included web hooks events to manage customer's orders.

For testing purposes please use the following card information

  • Card No - 4242 4242 4242 4242
  • Expire Data - Any future date
  • CVV - Any three digit
  • Name on Card - Name of your choice

Required variables

  • STRIPE_SECRET_KEY
  • STRIPE_WEBHOOK_SECRET
  • STRIPE_SUCCESS_URL
  • STRIPE_CANCEL_URL

How to start locally?

npm run dev

About

This is a starter code for configuring stripe payment gateway to use custom products when creating checkout session using stripe prebuilt checkout page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published