HTML iFrame integration help!

Hello, I am using an iFrame component, where I added my own html code.

The original page looks like this:

After pressing the button, it opens a page like this:

When I use the same code in the iFrame, the code is being executed (I know of this, because the payment servers receive a payment request), but the user is not redirected to the new page.

Is this a known problem? Does the iframe allow redirecting? Is there a way to solve this?

I can provide the code if needed.

  1. If you should provide some code → DO NOT SHOW SENSITIVE DATA, like …
    -passwords
    -credit-card-data
    -api-keys
    -and other sensitive security data.

  2. I am not sure, if the HTML-iFrame, is the best way, to handle credit-card-transaktions, regarding the security-risk.

Perhaps someone else can give some more detailed informations on this topic.

  1. And of course, without seeing your code, it is almost inpossible to give you any good answer.