Hi I'm working on moving a Nationbuilder site over to Wordpress for the CMS. There is a request to keep the donation form the same, but it looks to me like this is not possible. I think I can use a Wordpress donations integration/plugin and after a donation is taken, send the information to the Nationbuilder API. Is it possible to use the nationbuilder donations for with Wordpress? Or is that a no go?
Official response from Farz Sokhansanj
There are several approaches to this:
- Use WP for the rest of the site and NB for the donation form. The way this would work is that when someone selects a 'donation' button on the WP site they will be redirected to the NB donation form to process the payment.
- Use WP for the entire site and build an application that can consume processed donation data from the payment processor and make a request to our donation API to create a record of the transaction.
- Redirect from the WP site to a payment processor that integrates with our donation API which will create the record in NationBuilder without you having to build an application as mentioned in (2) above.
Share this post
Showing 3 reactions
Sign in with
You can send donation information to the NationBuilder database via the donation API. Here is our documentation about our Donation API here: http://nationbuilder.com/donations_api.
However, this donation information must also include the NationBuilder ID for that person. This ID would be used by the system to attach a donation to the correct person in the database. You can use the people endpoint for this: http://nationbuilder.com/people_api. If the donor does not exist in the database already, you’ll want to add them using the Create, Push, or Add endpoints.
Alternatively, the donation page can be linked to the customers Wordpress site as an “action button”. Donors would then be directed to NationBuilder to complete their donation.
Using our native, “After donating, what page should they land on next?” feature, users can be directed back to the WordPress site after they have finished donating.
If you have further questions, please do not hesitate to email us at [email protected]
Jazmine