yongfook / stripe-intent-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install dependencies

npm install

Run the app

In the project directory, you can run:

npm start

  1. View the app at localhost:3000
  2. Run through a test scenario with test card numbers
  3. After a successful payment, verify logged paymentintent success at:
    https://yongfook-stripe-intent-server.herokuapp.com/api/v1/orders

Suggested future improvements

I felt that these items fell outside the scope of this task but if I were to make this production-ready, I might work on:

  1. UI-based validation messages rather than alert-based
  2. Choose number of items to order
  3. Give user a visual confirmation receipt e.g. order number etc

About


Languages

Language:JavaScript 77.9%Language:HTML 12.5%Language:CSS 9.6%