Skip to main content

Action: gform_post_payment_completed

Fires after a payment is completed through a form

Parameters

NameTypeDescription
$entryarrayThe Entry object
$actionarray

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 2121