View Categories

fluentform/payment_refunded_{$method}

Description #

This action runs after a successful refund. You can hook into this and get the refund data.

/*
* Source Action
*/
do_action('fluentform/payment_refunded_'.$method, $refund, $transaction, $submission);

Usage #

add_action('fluentform/payment_refunded_stripe', function ($refund, $transaction, $submission)
{
   // Do your stuffs here
}, 10, 3);

This code should be placed in the functions.php file of your active theme.

Parameters #

  • $refund (array) Refund Data
  • $transaction (array) Transaction Data
  • $submission (object) Submission Object

Source Code #

This hook is located in /fluentformpro/src/Payments/PaymentMethods/BaseProcessor.php