In this project for the Open Media Group we set out to create Drupal 7 donation forms that could be used in a modular way including being easily dropped into any page on the openmedia.org or openmedia.ca sites. To achieve this we leveraged the use of the Webform module and developed a custom donation form module.
Open Media uses IATS (iatspayments.com) as it’s payment processor for donation forms. IATS has a feature called Brickwork that plugs into the Salesforce CRM system. It also has a web service that support SOAP calls. Our webform donation form the IATS web service to process the payments from the Drupal donation webform.
Challenges in Processing Donation Forms with IATS Web Service
There were numerous challenges to overcome on this project. Most notably the IATS system is not well documented, in fact they keep their document in Word documents and have no online guides applicable to the more advanced aspects of their system. So it was a challenge to deal with a range of persistent errors that came up during testing. Nonetheless persistence paid off and the eventual system worked reliably and passed testing for a wide range of card uses and other options.
Donation Form Options
The donation form itself features an option set of choices where the donor can choose either a one-time payment or monthly payment. This was achieved using Webform fields that are selectively hidden or shown using jQuery in response to the users selection.