Please Note: We are no longer using forums to facilitate standard support. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Failed transactions passed to hook?

  1. dochara

    Quick question.

    I am writing a function that runs on gform_paypal_post_ipn and does different things based on the txn_type returned from PayPal. I need to do nothing at all with failed transactions.

    I am thinking that something like this to just stop my function on failed transactions would be no harm, but is it superfluous - are failed transactions already filtered out before the gform_paypal_post_ipn hook runs?

    if( $ipn_post['txn_type']=='subscr_ failed')


    Posted 3 years ago on Wednesday January 11, 2012 | Permalink
  2. Hi Dochara,

    Failed payments are not filtered out from the gform_paypay_post_ipn. The way you are handling it is correct.

    Posted 3 years ago on Friday January 20, 2012 | Permalink


Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only