Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Create Donation Programmatically

  • Resolved Kevin


    Is there any way to create donations programmatically without using the frontend form? I want to add a hook to create a donation from checkout thank you page based on a custom checkout field.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ben Meredith


    Hi @stellardev,

    I’m happy to clarify. The only way currently to create Donations is through a GiveWP form on a post/page. Our API is a read-only API (you can build apps that see Donor and Donation data, but not ones that can create that data).

    That said, there are ways to create a link from that thank you page that prepopulate a GiveWP form for your donors using some custom jQuery.

    We wrote a tutorial on that that you can read here:

    Thanks for using GiveWP! Have a great day.

Viewing 1 replies (of 1 total)
  • The topic ‘Create Donation Programmatically’ is closed to new replies.