This module allows your Drupal site to accept donations as a distinct e-commerce process. It provides specific order item types, checkout flows, and user interface elements to manage donation amounts and recurring options, supporting various integration scenarios within your existing commerce setup.
Commerce Donation Flow provides tools to address the numerous differences between purchasing a product and making a donation.
- A Donation Order Item configured with common fields for donations.
- Routes and a Controller for initiating a donation and for direct access to steps in the donation flow.
- Two customized donation flows which extend Commerce checkout flow.
- Commerce checkout panes which provide form modes for collecting donation data into the Donation order item.
- An ajax powered widget for the Commerce Price field which presents a range of donation amounts and dynamically switches between one-time and monthly donations.
- A block for making a quick donation by pre-populating the amount and proceeding directly to payment details.
There are three use cases that this module will support with varying levels of additional effort:
- A site in which donations are the only e-commerce.
- A site in which donations are an additional item in a typical e-commerce setup.
- A site with a dedicated process for donations and a separate process for typical e-commerce.
After installing the module, browse to admin/commerce/config/donation-settings and follow the guidance there to complete the configuration.