Quick and easy donations using the Payment API
In this video we demonstrate how to create a simple, single-click donation form in Drupal using a recipe of three contributed modules:
A fourth module, Postal, is an optional addition to this recipe. The Postal module provides a postal address element which will be added to the form for address verification purposes.
These modules were developed using a building block approach, allowing you can take individual modules and put them together in different ways to build various types of functionality on your site. In this example:
- The Payment API provides a mechanism for collecting transaction information entered elsewhere on your site and hand this information to a payment gateway for processing. It also recieves information about the status of the transaction back from the payment gatway and stores it on your Drupal site so you can track payment activity.
- The Donate module allows you to create customizable donation forms for your site. Upon submission of a donation form, the Payment API collects the form information and passes it to the payment gateway.
- The Authorize.net module functions as the payment method for your transactions. The Payment API module is configure to allow multiple payment method backends. These backends are built as separate modules that are coded to communicate to one specific payment gateway. In this example the Authorize.net module communicates with our payment service account on Authorize.net which processes the payments.
Using the Payment API module in conjunction with other modules and configurations on your site, you will be able to create additional ways of collecting payments. By reusing the same components, you will have data from all your payment forms stored right on your Drupal site enabling tracking and analysis.
Watch this video to see how this works in the example of creating a donation form in Drupal in a matter of minutes.
Open source development
We've been contributing Drupal developers since 2005, and have quite a few modules under our belts. All of the solutions we develop and recommend are Drupal-based, and we actively work towards building on Drupal initiatives that can build on your success.
We are open source developers through-and-through. Every project we do results in small or large enhancements to Drupal or its contributed modules, and a large portion of our hosting revenue is reserved for upgrading and debugging supported modules. This means that everyone who works with us has a solution that is both sustainable and future-proof.

