Skip to content

tmarek-stripe/demo-react-stripe-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f2fffb0 · Jan 24, 2022

History

19 Commits
May 22, 2020
Feb 14, 2020
Feb 12, 2020
Feb 11, 2020
Aug 28, 2020
Feb 11, 2020
May 25, 2021
Feb 13, 2020
Jan 24, 2022
Dec 9, 2021

Repository files navigation

React Stripe.js Walkthrough

donut-shop

Getting Started

  • clone this repo locally by clicking on "Clone or Download"
  • from a terminal, cd into the project folder cd demo-react-stripe-js
  • checkout the getting started branch git checkout getting-started
  • install the dependencies npm install
  • start developing! npm run dev

Eventual Requirements

  • you will need to sign up for a Stripe account if you haven't already: stripe.com/register
  • you will need to add your account's secret key and publishable key to the next.config.js file

Credit Card Input Design Requirements

  • the behavior, look and feel of the app should match the gif exactly
  • text color: #fff
  • font size: 16px
  • placeholder text color: #87bbfd
  • invalid text color: #FFC7EE

About

A simple app to demo the new react-stripe-js library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published