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.

Is gform_paypal_fulfillment fired when using Sandbox Texting Environment ?

  1. I can't manage to trigger a function using gform_paypal_fulfillment.
    Is it fired when using the Testing Mode of Paypal ?

    Here is the basic function I use :

    add_action("gform_paypal_fulfillment", "paypal_payment_handler", 10, 4);
    function paypal_payment_handler($entry, $config, $transaction_id, $amount){
    $my_email_addr = 'emailadress@domain.com';
    $message = "ID=".$entry['id'].", post_id=".$entry['post_id'].", Amount=".$amount;
    mail($my_email_addr, 'payment', $message);
    }
    Posted 12 years ago on Wednesday November 23, 2011 | Permalink
  2. I believe the hook is processed even if you're in the sandbox. Can you replace the code in there with something obvious, to ensure it's running? If it is, then you need to troubleshoot your code. There might be problems with the email delivery. I would try to return something from that function to be sure it's being processed, then work on the email delivery.

    Posted 12 years ago on Thursday November 24, 2011 | Permalink