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.

Recurring payments hooks

  1. Danny
    Member

    Are there any hooks and/or filters that happen when a recurring payment is run?

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  2. I'll ask the development team this question for you. Hang in there.

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  3. Here you go. The documentation is not yet complete, but maybe this information will help you.

    // Fires when a subscription is created and first payment is made
    do_action("gform_authorizenet_after_subscription_created", $subscription_id, $regular_amount, $initial_transaction_amount);
    
    // Fires after every recurring payment (but not the first initial payment)
    do_action("gform_authorizenet_after_recurring_payment", $entry, $subscription_id, $transaction_id, $new_payment_amount);
    
    // Fires when the subscription is cancelled
    do_action("gform_authorizenet_subscription_canceled", $entry, $subscription_id, $transaction_id, $new_payment_amount);
    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  4. Danny
    Member

    Thanks, that was exactly what I needed.

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  5. Awesome. Thanks for the update.

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink

This topic has been resolved and has been closed to new replies.