This action runs after a sucessfull refund. You can hook into this and get the refund data.
* Source Action
do_action('fluentform_payment_refunded_'.$method, $refund, $refund->form_id);
add_action('fluentform_payment_refunded_stripe', function ( $refund, $form_id)
// Do your stuffs here
}, 10, 2);
This code should be placed in the functions.php file of your active theme.
This hook is located in /fluentformpro/src/Payments/PaymentMethods/BaseProcessor.php
Powered by BetterDocs
Your email address will not be published. Required fields are marked *