Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
2.0.1 Stable Dec 12, 2024