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
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
**Note: fname_field is the field name comes form Metform
If you want to show the the Payment Status then you can use the this short code
If you want to show transaction ID then you can use this short code.
If you want to show any filed data / value from the form then follow this short code