Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Gewirtz

    (@dgewirtz)

    You need a hook for that. Unfortunately, I haven’t added too many hooks coming back from payment (mostly because I’m still getting the kinks out of the payment system), but I’m still working on 4.0.4 and I’ll take a quick look and see if there’s any easy place to put a hook that will let you grab onto after successful donation.

    Definitely don’t modify the core code. The only gotcha is that because the payment engine is still in a little flux, that hook might have to change a bit in later releases.

    Stay tuned. I’m waiting on beta feedback now from 4.0.4, but I’m pretty confident I can give you a hook quickly enough.

    –David

    Plugin Author David Gewirtz

    (@dgewirtz)

    I’ve added a hook to 4.0.4b2 (which I’m planning on packaging for release for testing tonight) that should do this for you:

    do_action( ‘seamless_donations_paypal_ipn_processing_complete’, $this->session_id, $this->transaction_id );

    It’s passed the session_id and transaction_id. Note that session ids are treated entirely different in 4.0.4b2 than ever before.

    –David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trigger another event on return – mail list’ is closed to new replies.