Skip to main content
drupalreleases
Release: Libraries API 4.2.1 — Minor update available for module libraries (4.2.1). Release: Menu Link Attributes 8.x-1.10 — Minor update available for module menu_link_attributes (8.x-1.10). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Taxonomy Menu 8.x-3.9 — Minor update available for module taxonomy_menu (8.x-3.9). Release: Menu Item Extras 3.2.0 — Minor update available for module menu_item_extras (3.2.0). Release: Layout Paragraphs 2.1.4 — Minor update available for module layout_paragraphs (2.1.4). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.11 — Minor update available for module photoswipe (5.0.11). Module Revived: Libraries API 4.2.0 — Module libraries updated after 11 months of inactivity (4.2.0). Release: RightUp 1.0.4 — Minor update available for module rightup (1.0.4). Security Coverage: Open Y Branch Selector — Module openy_branch_selector now has official Drupal security advisory coverage.

Stripe Subscription

12 sites Security covered

Part of the Stripe ecosystem · 13 projects

View on drupal.org

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.

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
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

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