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

  • Resolved Kevin

    (@stellardev)


    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 Support Ben Meredith

    (@benmeredithgmailcom)

    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: https://givewp.com/populate-donor-info-one-click/

    Thanks for using GiveWP! Have a great day.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.