views:

919

answers:

1

Within an iframe I have a user validate credit card payment information with a 3rd party website and upon validation the page will redirect to a predefined URL within our application. However, it POSTs to this URL within the iframe itself. Is there a clean way to redirect to the page I need? or do I have to use some intermediate page that would then do the redirect 'out' of the iframe?

+3  A: 

Try putting the following javascript in your returned to page.

window.parent.location = url;
tpower