used as a POST endpoint to handle customer and subscription creation.
.env.development (starting from
.env.sample) with the application secrets.
stripe test configuration
access the dashboard
in your stripe dashboard take a look at the sidebar.
enable test data
at the bottom of the sidebar you should see the entry "Viewing test data", and you should enable it.
create a test plan 'monthly'
you should create a plan called 'monthly' view its id 'monthly' and with a recurrence of a month.
here is an example:
npm run deploy