fluentform_payment_refund_updated

Description #

This action runs when updating an existing refund method for every payment method. You can hook into this and get the refund data.

/*
* Source Action
*/
do_action('fluentform_payment_refund_updated', $existingRefund, $existingRefund->form_id);

Usage #

add_action('fluentform_payment_refund_updated', function ( $existingRefund, $form_id)
{
   // Do your stuffs here
}, 10, 2);

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

Paramertes #

  • $existingRefund (array) Refund Data
  • $form_id (int) Form ID

Source Code #

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

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *