IIED-org / IIED-main

Main website for the International Institute for Environment and Development (IIED)
https://www.iied.org
1 stars 2 forks source link

Individual giving: donate form #843

Open cbrody opened 6 months ago

cbrody commented 6 months ago

PayPal online form integration is not readily available, looking at other solutions e.g. drupal/give (uses Stripe as processor).

cbrody commented 6 months ago

Progress update for @ncktrnr, @DavidIIED and @mattjobob:

PayPal's Donate integration can be achieved via a link on our site to a page on paypal.com, or a button on iied.org that triggers a modal popup. It's not possible out of the box to embed a donation form in an iframe (for example), nor is there much control over the popup itself. Further implementation details: https://developer.paypal.com/sdk/donate/

We've spent a little time looking at drupal/give, which integrates with Stripe, who offer many payment options including PayPal, Apple & Google Pay and Direct Debit. It seems that integrating Stripe with other online platforms (e.g. Mailchimp) should be relatively straightforward. The heavy work of integrating the payment platform with drupal is done via the give module, and as this is open source software we can modify the code, including donation forms, as we wish. It also means that donation / subscriber details are available directly within the Drupal database – there may be data protection issues to consider here.

Both above options are implemented in https://github.com/IIED-org/IIED-main/tree/feature/843-donate, which is currently available for testing at http://iied-main-dev.ac.iied.org/donate n.b. The inline donation form currently only displays if logged in – user/1 credentials are as on the production site.

Other options possibly worth exploring are classy.org and fundraiseup.com both of which I believe offer embeddable donation forms.

cbrody commented 6 months ago

Not website-related but this might be of use: Stripe-Access-Dimensions-Integration-Brochure.pdf