Skip to content

bellangerq/stripe-octobat-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technical test

Node JS technical test with Stripe & Octobat APIs.

Install

Clone this project

git clone git@github.com:bellangerq/technical-test.git

Install Node dependencies:

npm install

Create a .env file and store your Stripe keys (with dotenv):

PUBLISHABLE_KEY=pk_test_******
SECRET_KEY=sk_test_******

Create an Octobat account and link it with your Stripe account.

Launch local server and visit localhost:3000:

npm start

Roadmap

  1. STRIPE
  • Create Stripe token
  • Create Stripe charge
  • Associate token to charge
  • Show Stripe charge token if success (.then)
  • Show status if error (.catch)
  • Create form view
  • Pass query parameters to Stripe token
  • Redirect page on success
  • Show error if any
  1. FRONT
  • Design form
  • Front form validations
  • Design redirect page
  • Display preview before payment
  • Show amount with & without tax
  • Show spinner on load
  1. OCTOBAT
  1. MISC

About

Apply tax rate to Stripe payment 💳

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published