Using Gravity Forms ‘gform_authorizenet_post_capture’ PHP filter

The gform_authorizenet_post_capture action hook is used by Authorize.Net and fires after the payment has been captured.


add_action('gform_authorizenet_post_capture', 'your_function_name', 10, 6);


  • $is_authorized (bool): Indicates if the payment was authorized.
  • $amount (string): The payment amount captured.
  • $entry (Entry Object): The current entry.
  • $form (Form Object): The current form.
  • $config (Feed Object): The feed configuration.
  • $response (object): The capture response from Authorize.Net.

More information

See Gravity Forms Docs: gform_authorizenet_post_capture


Notify of Capture

Send an email notification when funds are captured.

add_action('gform_authorizenet_post_capture', 'notify_of_capture', 10, 6);

function notify_of_capture($is_authorized, $amount, $entry, $form, $config, $response) {
    GFCommon::send_email('[email protected]', '[email protected]', '', '', 'testing', 'Funds were captured.');