Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Stripe Subscription

Security covered Under active development 11 sites

Part of the Stripe ecosystem · 13 projects

This module allows you to sell subscriptions on your Drupal site using Stripe. When a subscription is managed in Stripe, corresponding updates are made to subscription entities within Drupal via webhooks. This integration enables you to sync Stripe plans, assign Drupal roles based on active subscriptions, and streamline user accounts and logins after purchase.

This module extends Subscription Manager by connecting it to Stripe.

With this module, you can use Stripe to sell subscriptions to your Drupal site. When a Stripe subscription is created, updated, or deleted, a Stripe webhook will send an event to Drupal, which will create or update a corresponding Subscription entity in Drupal.

Installation:

  1. Use composer to install this module
  2. Enable it
  3. Configure the Stripe API module (a dependency) by adding API Keys and Webhook signing secrets at /admin/config/services/stripe_api
  4. Configure additional Subscription Manager settings at /admin/config/services/subscription_manager
  5. On /admin/config/services/subscription_manager, click "Sync plans from connectors." This will connect to your Stripe account, look for plans, and create corresponding Subscription Plan entities in Drupal
  6. Visit /admin/content/subscription-plan to see the plans you've synced. Edit the plans and select which Drupal roles should be granted to users who have active subscriptions to that plan.
  7. On Stripe, create a webhook that points to your Drupal site' /stripe/webhook path.
  8. On Drupal, place the menu links that are provided by the subscription manager module. For instance: My subscriptions (/user/my-subscriptions), Subscribe (/subscription-manager/subscribe)
  9. When you create a payment link for Stripe, you may choose the redirect the user to https://www.yoursite.com/stripe/login?session_id={CHECKOUT_SESSION_ID}. This will immediately create a Drupal account and login the user in after purchase.

Ask your assistant about Stripe Subscription

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Sep 2024
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
2.0.0-beta1 Pre-release 9–11 May 26, 2026
2.0.x-dev Dev 9–11 Sep 25, 2024