I have a page which has an iFrame loading a credit card payment form from a 3rd party site[PCI compliance sake].
I have two problems I am trying to sovle.
1,The page and the iframe loads at different speeds causing a flicker on the page. How do I synchronize the iframe load and the page load?.
2,If the 3rd party site is down, I want to replace the iframe or atleast redirect it to a different source. How do I determine the iframe failed to load.