Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Stripe

1,770 sites Security covered Drupal 10–11 Stripe ecosystem
View on drupal.org

This module integrates Stripe payment processing with Drupal, supporting features like SCA and PaymentRequests through the PaymentsIntent API. It exposes a "Stripe" render element and handles webhooks, allowing other modules to extend its functionality for subscriptions and forms.

Provides Stripe integration with Drupal. All are welcome to help out.

Drupal 10+

Version 2.x is a complete refactor of 8.x-1.0. There's no upgrade between major versions. It now uses the new PaymentsIntent API of stripe which is the current recommended way of handling payments which adds support for more current features like SCA and PaymentRequests. More things are handled client-side now.

For an up to date documentation of the 2.x please read its REAMDE.md file.

Version 8.x-1.x uses the old Charges API.

Since the module requires an external library, Composer must be used.

composer require "drupal/stripe"

The Drupal 8+ version has been started from scratch. The idea is to keep this module simple providing the common Drupal elements that can be used by other contrib modules. New features can be added but following the same idea of being the API that other contribs can use.

Current features

  1. Exposes a new "Stripe" render element, using Stripe Elements
  2. Webhooks support triggering a Drupal Event that can be leveraged by contrib modules.
  3. Global configuration of Stripe test/live API keys.

Contrib based on this module

  • Stripe Webform integration - Allows to create simple, yet powerful donation/subscription forms.

Drupal 7

This currently is very basic. There's a simple form for testing purposes, that will charge a card. This is not ready for production environments! See the Roadmap to 1.0 here.

Current features

  1. Provides a new "Stripe Payment" form element type
  2. Webhooks integration
  3. Global configuration of Stripe test/live API keys
  4. Includes submodule for integration with Payment
  5. Integrates between Drupal users and Stripe Customers.
  6. Rules Events fired when a customer is updated or created
  7. Token replacements for Customer ID, Default Source, and other properties.
  8. Views integration between User accounts and Customer fields
  9. hook_customer_stripe_info() allows other modules to add properties to Stripe Customer object during create/update

Getting started

  1. Create a Stripe Account if you don't have one already.
  2. Download the latest Stripe PHP API Library into sites/all/libraries/stripe-php
  3. Enter the API keys from your Stripe Account into the Stripe Settings form (admin/config/stripe/settings)

Roadmap

After this is cleaned up some, we plan to make separate modules that integrate with Commerce, Pay and Ubercart.

NOTE: The stripe_commerce module that used to ship with this module has been removed. Work is taking place to make Commerce Stripe (3.x) the replacement, but as of this commit, both modules can be installed alongside each other; however, they do not yet share any Stripe data with each other.

Modules that extend Stripe

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
2
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.1 Stable 10–11 Dec 12, 2024
2.0.0 Stable 10–11 Nov 29, 2024