Adding HTML payment form

I need to add a payment form from my credit card processor. They gave me the HTML code but it does not work in iFrame because it requires redirects. How would I add this into the page?

What payment gateway is it? If it requires redirects you must code it in Wix Code and there is no possible way to do it elsewise I believe if you have to redirect the users.