Skip to content

Commit ef89edb

Browse files
committed
Fix test_purchase
1 parent 2bdd7dc commit ef89edb

File tree

5 files changed

+394
-315
lines changed

5 files changed

+394
-315
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ Or, you can create an account and simultaneously make it an admin by using `./fl
101101

102102
E-mail sending is disabled in development (but is printed out on the console). You can also log in directly by setting `BYPASS_LOGIN=True` in `config/development.cfg` and then using a URL of the form e.g. `/login/[email protected]`.
103103

104+
### Testing payments
105+
106+
The easiest way to test the payments flow (marginally less easy if you don't have a Stripe account) is to use Stripe test keys and pay by card with Stripe's test cards. To test incoming webhooks you can use a service like ngrok or tailscale funnel to expose your local dev instance to the web (temporarily!).
107+
104108
### Database Migrations
105109

106110
- `./flask db migrate -m 'Migration name'` to generate migration scripts when models have been updated.

0 commit comments

Comments
 (0)