I have an iframe that hosts a third party payment form.
As standard configuration for something like this, I have supplied a redirect URL for the third party to come back to when the form is submitted, so when the user submits the form, data will be submitted and then I will be redirected to one of my pages that says if the payment was successful or not.
The issue I am having is that it is the iframe and not the actual page hosting the iframe that is loading this redirected page... I've not seen this before so not sure what is going on.
I can't do anything about the third party content or how that works, and I'm hoping it's something I've not thought about on my side that is the issue...
<iframe src="https://third-party-site.com" title="form title" name="formName">
For context, the <form element of the third part's included HTML is
<form action="/apply" id="mainForm" method="post">