ingdjason / stripe-checkout-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accept a Payment

Build a simple checkout form to collect payment details. Included are some basic build and run scripts you can use to start up the application.

Running the sample

  1. Build the application
npm install
  1. Configuration
Copy .env.example to .env , add your current stripe secret and public key from yon stripe dashboard, and your redirect URL for payment confirmation
  1. Run the application
npm start
  1. Go to http://localhost:3000/checkout
Stripe Documentation
  1. Go to https://stripe.com/docs

  2. Stripe Quick start https://stripe.com/docs/payments/quickstart

About


Languages

Language:JavaScript 89.5%Language:HTML 9.5%Language:Shell 1.0%