Screenshot of monthly gift amounts change via ajax
Screenshot of an un-ordered list of donation amounts for quick dontations

Commerce Donation Flow provides tools to address the numerous differences between purchasing a product and making a donation.

  1. A Donation Order Item configured with common fields for donations.
  2. Routes and a Controller for initiating a donation and for direct access to steps in the donation flow.
  3. Two customized donation flows which extend Commerce checkout flow.
  4. Commerce checkout panes which provide form modes for collecting donation data into the Donation order item.
  5. 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.
  6. 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.

Project information

Releases