Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Stripe Gateway

No security coverage Under active development 1 sites

Part of the Stripe ecosystem · 13 projects

This module allows users to pay for services and subscribe to plans using Stripe. It provides a payment block that can be added to content, redirecting users to Stripe to complete their purchase. Upon successful payment, users are automatically assigned Drupal roles.

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!

Ask your assistant about Stripe Gateway

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
15
Tracked since
Dec 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0-beta2 Pre-release 9–11 Jan 2, 2025
1.1.0-beta1 Pre-release 9–11 Oct 1, 2024
1.1.0-alpha3 Pre-release 9–10 Jul 30, 2024
1.1.0-alpha2 Pre-release 9–10 Jul 22, 2024
1.1.0-alpha1 Pre-release 9–10 Jul 3, 2024
1.1.x-dev Dev 9–11 Jul 3, 2024
1.0.0-alpha8 Pre-release 9–10 Jan 27, 2024
1.0.0-alpha7 Pre-release 9–10 Jan 25, 2024
1.0.0-alpha6 Pre-release 9–10 Jan 23, 2024
1.0.0-alpha5 Pre-release 9–10 Jan 20, 2024