bash scripts to create test subscription data on a Stripe account to simulate upgrade/downgrade/cancellations for Revenue Recognition reports.
Order to run scripts:
- create_customer_subscription.sh
- change_subscription.sh
- advance_testclocks.sh
- cancel_subscription.sh
Can alternate between Steps 2-4 depending on the desired scenario.
Scripts 2-4 read the log.csv file created in Script 1
#Manual tasks before running the scripts
- create product in the dashboard
- create price(s) associated to the product in the dashboard
- replace price IDs in the create_customer_subscriptions.sh on line 6. Each price ID is separated by a space.