Skip to content

Ryan-Jones1999/StripeNodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config

Please create a .env file at the root of the folder - The following environment variable need to be set in order to communicate with stripe This can be found in your stripe account, check the word document for more information:

API_KEY

To find out your endpoint secret, see chapter 4 in the word document - this will be required for the bank transfer checkout example

ENDPOINT_SECRET

How to use the application

  1. Run npm install to build your application
  2. See package.json for list of commands
  3. Run npm run {{chosen example}} to start

How to use the live checkout examples

  1. Run the server
  2. Navigate to http://localhost:4242/create-checkout-sesion
  3. Click on the checkout button
  4. See comment above the post - create-checkout-session in the server for information on how to trigger a payment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors