Skip to content

Enabling Alaveteli Pro

Gareth Rees edited this page Jul 28, 2020 · 12 revisions

Scratchpad document for enabling Alaveteli Pro.

ENABLE_ALAVETELI_PRO

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

  • 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.
  • Create pro, 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)

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) 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)
Clone this wiki locally