Skip to content

Enabling Alaveteli Pro

Gareth Rees edited this page Nov 6, 2020 · 12 revisions

Scratchpad document for enabling Alaveteli Pro.

ENABLE_ALAVETELI_PRO

Main documentation at https://alaveteli.org/docs/pro/

ENABLE_PRO_PRICING

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 and STRIPE_SECRET_KEY in config/general.yml
  • Create Stripe webhook bin/rails stripe:create_webhook_endpoint
  • Set STRIPE_WEBHOOK_SECRET in config/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)
Clone this wiki locally