Billing¶

Zulip uses a third party (Stripe) for billing, so working on the billing system requires a little bit of setup.

To set up the development environment to work on the billing code:

• Create a Stripe account

• Go to https://dashboard.stripe.com/account/apikeys, and add the publishable key and secret key as stripe_publishable_key and stripe_secret_key to zproject/dev-secrets.conf.

Nearly all the billing-relevant code lives in corporate/.

• Go to https://dashboard.stripe.com/developers in your Stripe account.

• Run tools/test-backend --generate-stripe-fixtures
• Fix any failing tests, and manually look through git diff to understand the changes.