-
-
Notifications
You must be signed in to change notification settings - Fork 197
Enabling Alaveteli Pro
Gareth Rees edited this page Jul 30, 2020
·
12 revisions
Scratchpad document for enabling Alaveteli Pro.
Main documentation at https://alaveteli.org/docs/pro/
- Make sure Alaveteli Pro Transifex resource is translated
- Configure POP poller
- Requires a Virtual Mailbox Service if running on mySociety infrastructure
- We haven't had experience of running this outside of mySociety infrastructure yet.
-
Createpro
,pro_admin
roles- Should be done automatically since #4029
- Decide on self-service access or invite-only
- Missing from docs (#5839)
- Add
/help/pro
- Missing from docs (#5834)
- Add
/help/pro
translations- Missing from docs (#5834)
- Configure pro-related settings
- Create first
pro_admin
through the console- Missing from docs (#5835)
- Check all cron tasks and daemons are enabled
- TODO: Check that there's no extra manual work to do to enable these
Main documentation at https://alaveteli.org/docs/pro/pricing. Requires ENABLE_ALAVETELI_PRO
.
- Translate /pro/pages/legal
- Missing from docs (#5836)
- Create Stripe account
- Activate Stripe account
- Generate Stripe API keys
- Set
STRIPE_PUBLISHABLE_KEY
andSTRIPE_SECRET_KEY
inconfig/general.yml
- Create Stripe webhook
bin/rails stripe:create_webhook_endpoint
- Set
STRIPE_WEBHOOK_SECRET
inconfig/general.yml
- (Recommended) Set
STRIPE_NAMESPACE
- Set
ISO_CURRENCY_CODE
- Missing from docs (#5831)
- Set
STRIPE_TAX_RATE
- Missing from docs (#5832)
- Create a Stripe Product
- Create a recurring, single tier pricing plan with ID of
pro
- (Optional) Create and set
PRO_REFERRAL_COUPON
- Set up Stripe email notifications
- Turn on "3D Secure" and "Successful payments" email notifications
- Missing from docs (#5838)
- Create always-free admin coupon
- Manually give admins pro accounts
- Missing from docs (#5837)
- TODO Convert existing Pro users to subscriptions (if they were using invite-only / non-payment self-serve)