After submitting the form with Payment whether it is Succeeded or Failed, Metform will redirect to the “Thank You Page” where User can see the payment details / status.
Go to Metform=> Settings=> Payment=>Thank You Page=> Select your page From the Drop-Down/ OR Click on Create Thank You Page to create new
Add Short Code [mf_thankyou]to the page, you have selected for Thank You page
[mf_thankyou]
You can see the Thank You Page After any Transaction
If you want to show name along with the Default Thank You Message then pass the fname with the field name
fname
[mf_thankyou fname='fname_filed']
**Note: fname_field is the field name comes form Metform
fname_field
If you want to show the the Payment Status then you can use the this short code
[mf_payment_status]
If you want to show transaction ID then you can use this short code.
[mf_transaction_id]
If you want to show any filed data / value from the form then follow this short code
[mf filed='fname']