PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. 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.

Paypal Notifications

  1. Currently the notification options for Paypal allow you to restrict the notifications and the post publication until payment is received.

    For paypal credit card payments, this is effectively instant, but for echecks there is a delay of several days until the payment clears.

    We would like to find a way to have the notifications and post fire right away when the echeck is submitted and the payment is pending and not wait until the echeck clears.

    We are using gravity forms to sell day passes to a private nature preserve, and this is one kink we have discovered in our current implementation.

    I am aware that this will mean that some echecks could potentially bounce and we never receive our payment. However, we are doing a lot of volume, and that is a risk we are willing to take in order to have the notifications fire right away.

    Simply turning off the notification options doesn't work, as then the notification fires even if the person aborts the sale. We only want the notification to fire when the payment has been sent, even if it is not yet cleared.

    Any ideas?

    Posted 10 years ago on Wednesday March 14, 2012 | Permalink
  2. This also hit us it appears.
    5/17 Person registered for a Event (purchased a ticket)
    5/20 The Event occurs
    5/22 Payment posts to Gravity Forms

    As you can see the payment was received 2 days after the single, once in a lifetime, momentous, never to be missed event occurred.

    Any way to fire a payment in Gravity Forms even though the check has not cleared the bank?

    Posted 10 years ago on Wednesday May 23, 2012 | Permalink
  3. Interesting problem. There might be a hook that can be used to force the notifications to be sent when the eCheck is sent. I will do some research and post my findings here.

    Posted 10 years ago on Wednesday May 23, 2012 | Permalink
  4. I haven't fully tested this, but in theory the following code snippet should work.

    add_action("gform_post_payment_status", "send_notifications", 10,  8);
        function send_notifications($config, $entry, $status,  $transaction_id, $subscriber_id, $amount, $pending_reason, $reason){
    
            //fulfill orders that are pending because an echeck hasn't cleared
            if(strtolower($status) == "pending" && $pending_reason == "echeck"){
                GFPayPal::fulfill_order($entry, $transaction_id, $amount);
            }
    
            //mark entry as fulfilled so that notifications aren't sent again when echeck clears
            $entry["is_fulfilled"] = true;
            RGFormsModel::update_lead($entry);
    
        }
    Posted 10 years ago on Thursday May 24, 2012 | Permalink
  5. Thanks for the snippet! I'll give it a test run...

    Posted 9 years ago on Friday June 1, 2012 | Permalink