gform_post_payment_transaction

The Gravity Forms + Stripe gform post payment transaction hook.

Description

do_action( 'gform_post_payment_transaction', (unknown) $id, (unknown) $entry_id, (unknown) $transaction_type, (unknown) $transaction_id, (number) $amount, (bool) $false ); 

Parameters (6)

0. $id (unknown)
The id.
1. $entry_id (unknown)
The entry id.
2. $transaction_type (unknown)
The transaction type.
3. $transaction_id (unknown)
The transaction id.
4. $amount (number)
The amount.
5. $false (bool) => false
The false.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'gform_post_payment_transaction', $id, $entry_id, $transaction_type, $transaction_id, $amount, $false ); 
The following example is for adding a hook callback.
  1. // define the gform_post_payment_transaction callback 
  2. function action_gform_post_payment_transaction( $id, $entry_id, $transaction_type, $transaction_id, $amount, $false ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'gform_post_payment_transaction', 'action_gform_post_payment_transaction', 10, 6 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'gform_post_payment_transaction', 'action_gform_post_payment_transaction', 10, 6 ); 

Defined (1)

The action is defined in the following location(s).

/includes/class-gfp-stripe-data.php  
  1. do_action( 'gform_post_payment_transaction', $id, $entry_id, $transaction_type, $transaction_id, $amount, false );