Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

The main purpose of this module is process service payments with Stripe, allow Drupal users to subscribe to Stripe plans and have one or more Drupal roles.

This module provides the Stripe Payment block. We add this block to the node and entities where we can add the price id for that product or entity. The price id will be displayed as a button.

The button redirects customers to a Stripe-hosted payment page to complete their purchase. After the transaction successfully the role is assigned to the user.

Getting started

  1. Create Account in Stripe.
  2. Create products and prices in Dashboard Stripe.
  3. Configure a tax rate.
  4. Configure a webhook with events (invoice.payment_succeeded, customer.subscription.deleted).
  5. Download and install this module with composer require "drupal/stripe_gateway".
  6. In (admin/config/services/ppss) configure content types to enable pay button
  7. In (admin/config/services/ppss/stripe) enter the API keys.
  8. Add the "Button pay of subscription" block for the entities where you want to implement the stripe payment.
  9. Add permissions to show the block.
  10. Add/update that entity with price ID and role ID.

Requirements

This module requires the Drupal module PPSS.

Status

Now is production ready, but be careful because needs more third party testing.

Additional Requirements

For development purposes, install the Stripe PHP SKD by running: $ composer require stripe/stripe-php

Similar projects

Supporting this Module

If you have a Patreon, OpenCollective, etc. you can put links here to describe how people can support development.

Community Documentation

A great place to add links to YouTube walkthroughs, external documentation, or a demo site (use DrupalPod!).

You may continue to put additional information below here, if there are other things you think people need to know about your module!

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
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
1.1.0-beta2 Pre-release Jan 2, 2025
1.1.0-beta1 Pre-release Oct 1, 2024