Action: gform_post_add_subscription_payment
Fires after a payment is made on an existing subscription.
Parameters
| Name | Type | Description |
|---|---|---|
| $entry | array | The Entry Object |
| $action | array | The Action Object $action = array( 'type' => 'cancel_subscription', // See Below 'transaction_id' => '', // What is the ID of the transaction made? 'subscription_id' => '', // What is the ID of the Subscription made? 'amount' => '0.00', // Amount to charge? 'entry_id' => 1, // What entry to check? 'transaction_type' => '', 'payment_status' => '', 'note' => '' ); 'type' can be: - complete_payment - refund_payment - fail_payment - add_pending_payment - void_authorization - create_subscription - cancel_subscription - expire_subscription - add_subscription_payment - fail_subscription_payment |
Source
Defined in includes/addon/class-gf-payment-addon.php at line 2337