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

Getting Started

  1. Install and configure Stripe, then enable this module.
  2. Add plans and plan groups at admin/config/stripe/plans.
  3. Configure which roles each plan should add and remove
  4. Configure Stripe Subscription settings and notifications at admin/config/stripe/subscription.
  5. 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.

Information

1.x Sponsors