---
title: "fluentform/payment_refunded_{$method}"
description: "## Description This action runs after a successful refund. You can hook into this and get the refund data. ```php /* * Source Action */ do_action('fluentform/payment_refunded_'.$method, $refund, $transaction, $submission); ``` ## Usage ```php add_action('fluentform/payment_refunded_stripe', function ($refund, $transaction, $submission) { //…"
url: "https://fluentforms.com/docs/fluentform_payment_refunded_method/"
updated: "2023-07-26"
category: Action Hooks
---

# fluentform/payment_refunded_{$method}

## Description

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

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

## Usage

```php
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](http://codex.wordpress.org/Theme_Development#Functions_File) 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*
