> For the complete documentation index, see [llms.txt](https://prappo-xpeedstudio.gitbook.io/metform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prappo-xpeedstudio.gitbook.io/metform/thank-you-page.md).

# Thank You Page

When a user will submit a form with payment and the payment action whatever success or failed , Metform will redirect the user to Thank You page where the payment details / status will be visible.

## Get Start

To use **Thank You** page admin needs to set the page from settings.&#x20;

![Thank You page settings](https://3044401339-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6xnbdze_ydHROU1GVk%2F-M6xnh-UsumJrxkIfThs%2F-M6xq1WiTSehyYvlKMOJ%2Fdownload.png?alt=media\&token=9288ced1-19f0-49f0-87e6-5f9ffb7544a8)

## Add Short Code

Add Short Code `[mf_thankyou]`to the page you have selected for **Thank You** page

![Thank You page short code](https://3044401339-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6xnbdze_ydHROU1GVk%2F-M6xnh-UsumJrxkIfThs%2F-M6xr3VpKO6hOiQ2gQF6%2FScreenshot_1.png?alt=media\&token=585c4352-e850-4432-859d-c05c0b59c745)

## Result

After payment action done the Thank You page will something like this

![Thank you page demo](https://3044401339-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6xnbdze_ydHROU1GVk%2F-M6xnh-UsumJrxkIfThs%2F-M6xsmpVxe8U-zsfz85X%2FScreenshot_2.png?alt=media\&token=66917227-5caa-439b-a60a-5af00dc9160d)

## Advance

You can ad more functionality to your thank you page. Here is more short code to make a awesome thank you page.

If you want to show name along with the default thank you message then pass the **`fname`** with the field name&#x20;

#### Example

```
[mf_thankyou fname='fname_filed']
```

{% hint style="info" %}
**`fname_field`** is the field name comes form **Metform**
{% endhint %}

If you want to show the the payment status then you can use the this short code

#### Example

```
[mf_payment_status]
```

If you want to show transaction ID then you can use this short code.

#### Example

```
[mf_transaction_id]
```

If you want to show any filed data / value from the **form** then follow this short code

#### Example

```
[mf filed='fname']
```

{% hint style="info" %}
`fname` is the field name of the form
{% endhint %}

![](https://3044401339-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6xnbdze_ydHROU1GVk%2F-M6xnh-UsumJrxkIfThs%2F-M6xuUS-GcMpeMeEzw4f%2Fdownload%20\(1\).png?alt=media\&token=d9a72de8-bf58-455b-b93f-6e018b36215e)
