This project is not covered by Drupal’s security advisory policy.

What does this module do?

This is a simple module that adds the ability to accept donations using the Stripe Checkout API V3. The end result is a new main menu item "Donate". This leads users to a page where they can specify exactly how much they would like to donate. Afterwards, payment infomation are being collected and sent off to Stripe.

This module uses Stripe Checkout API V3.

Requirements

- Stripe PHP API library composer require stripe/stripe-php
- Stripe account and API tokens
- Drupal 8 / 9

Installation

To install this module you will want to put the source in the [appropriate directory](https://www.drupal.org/docs/8/extending-drupal-8/installing-modules#mod_...).
After you have placed the module there, simply enable it as you would any other module.

GitHub repo:
https://github.com/LubomirKurpel/Drupal-8-Stripe-Easy-Donation

Configuring

To use this module, you will need a Stripe account. Specifically, you will need a "Publishable" key, and a "Secret" key. Both keys needs to be put in a configuration page. I strongly recommend testing your installation with test keys first before proceeding to using the live keys.

Special thanks

This module was initially written by someone on github, but I was not able to find the original author. Repo was probably deleted. The module before used now already deprecated Stripe Javascript Check Out API. I re-wrote the module to use the newer version of Stripe Checkout API V3.

Project information

Releases