• Resolved envyct

    (@envyct)


    Hi! I’d like to find out what’s the best hook to use on a successful donation?

    By successful, I mean verified & valid donation successfully paid for.

    Because we’d like to send the amount donated to a REST API so we can keep track of the total amount donated to a cause that multiple sites are participating in.

    Thanks!

Viewing 1 replies (of 1 total)
  • Hi @envyct,

    The hook I would recommend using is charitable-completed_donation. This hook is fired when the donation is marked as completed, which means it’s been paid. Callbacks will receive the donation ID as the first argument.

    Cheers,
    Eric

Viewing 1 replies (of 1 total)
  • The topic ‘Hook to use on successful donation’ is closed to new replies.