---
title: "fluentform/payment_refund_updated_{$method}"
description: "## Description This action runs when updating an existing refund method. You can hook into this and get the refund data. ```php /* * Source Action */ do_action('fluentform/payment_refund_updated_'.$method, $existingRefund, $refund->form_id); ``` ## Usage ```php add_action('fluentform/payment_refund_updated_stripe', function ($existingRefund, $form_id) { //…"
url: "https://fluentforms.com/docs/fluentform_payment_refund_updated_method/"
updated: "2023-07-26"
category: Action Hooks
---

# fluentform/payment_refund_updated_{$method}

## Description

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

```php
/*
* Source Action
*/
do_action('fluentform/payment_refund_updated_'.$method, $existingRefund, $refund->form_id);
```

## Usage

```php
add_action('fluentform/payment_refund_updated_stripe', function ($existingRefund, $form_id)
{
   // Do your stuffs here
}, 10, 2);
```

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Parameters

- **$existingRefund** (array) Refund Data
- **$form_id** (int) Form ID

## Source Code

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