I have one payment form. When I submit that form it will redirect to PAYONE for payment information when I successfully submitted. That page redirect to success link of my site for further details.
Now my question start: I open my payment gateway (PAYONE) page into an iframe in same window. But when I successfully submitted information and click to submit. Then it will redirect in the iframe.
How can I redirect to success link which I provided in post data?
Becaues of security and having now control over your payment provider, the easiest way to handle this is to have a 'landing' iframe page that the customer gets redirected back to from the payment provider.. That page then calls a function to reload the entire page to a new URL...
In the parent window: put this in the section
Then just have a simple iframe landing page to trigger the update
notice how i included the function in the parent window, and then called it from the iframe page via 'parent' - iframe security will not let you redirect or refresh a page directly from the iframe...