Stripe Subscription
Component ID
1946296
Component name
Stripe Subscription
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1466
Component created
Component changed
Component body
This module provides a simple solution for role-based subscriptions without requiring a full e-commerce suite running on Drupal. It directly integrates with Stripe's subscription architecture.
NOTE: This module is not ready for production. It is under active development!
Features
- Add/Remove roles based on subscription status
- Create Plan Groups organization of Plans based on context
- Support for Webhooks
- Optionally require subscription sign-up and credit card during registration
- Email templates for subscription and payment events
- Optional upcoming payment notifications
- Subscribers can easily update active card, subscription, or cancel their plan
- Hooks are provided to extend functionality
Dependencies
- Stripe and its PHP Library (Required)
- Secure Pages (Recommended unless full site is secure)
Optional
- Context (Optional for Plan Group reactions)
- Profile2 Registration Path (Optional for Plan Group registration paths)
Getting Started
- Install and configure Stripe, then enable this module.
- Add plans and plan groups at admin/config/stripe/plans.
- Configure which roles each plan should add and remove
- Configure Stripe Subscription settings and notifications at admin/config/stripe/subscription.
- In your Stripe Dashboard, add a Webhook that points to yoursite.com/stripe/webhooks - Roles will not be added or removed without this. This also means that the environment needs to be accessible over the web. Stripe highly recommends protecting this URL with SSL.
