Are there any hooks and/or filters that happen when a recurring payment is run?
Are there any hooks and/or filters that happen when a recurring payment is run?
I'll ask the development team this question for you. Hang in there.
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);
Thanks, that was exactly what I needed.
Awesome. Thanks for the update.