drupal / stripe_webform_donation
Adds a simple donation form that accepts credit card payments via Stripe.
Requires
- drupal/core: ^10.4 || ^11
- drupal/drupal_cms_anti_spam: ^2
- drupal/stripe_webform: ^2.0
- drupal/webform: ^6.3-beta1
This package is auto-updated.
Last update: 2025-07-17 21:51:21 UTC
README
Stripe Donation Form is a recipe that creates a form with a credit card element that accepts payments via the Stripe payment gateway.
Requirements
This recipe requires the following modules:
Application
- Require this recipe package using composer
composer require drupal/stripe_webform_donation:^1
- To apply the recipe, run the following command from your web root:
drush recipe {path_to_recipes}/stripe_webform_donation
Configuration
The recipe prompts for the test Stripe API keys on application. To modify these, or configure the module for live use, go to Configuration > System > Stripe (/admin/config/system/stripe
).
To view the form, go to Structure > Webforms > Make a donation (/form/donation
).
To configure the form, go to Structure > Webforms > Make a donation > Build (/admin/structure/webform/manage/donation
).
To modify the payment settings, e.g., to change the currency, edit the 'Donation credit card' element.