Generate a full set of Stripe fake data from command line
npm i -g stripe-generator
or if you love yarn
yarn global add stripe-generator
You need to provide your Stripe private key or a resticted key thought a .striperc or stripe.config.json file in the directory you'll run the CLI app with this scheme :
{
"stripe_key": "pk_test_*******"
}** ✅ Pro tip : You can use one config file per project as it's a common practice to have separate Stripe accounts for separate projects **
Use
$ stripe-generator --helpor use the shorthand
$ stripegen --helpSee CONTRIBUTING.md
See LICENCE.md
The stripe generator icon was made by my good friend Vicent a.k.a Webalys