Reply
Member
Posts: 2
Registered: ‎09-02-2018

Accept Hosted iFrame Communicator not always embedded

I am attempting to use Accept Hosted with an iframe. I have noticed that in Edge and Firefox my iframe Communicator page is not embedded within the hosted form. By digging into the inspector, I can see the hosted form embedded into my iframe, but the iframe communicator page is missing. In Chrome, everything works as expected.

 

Any ideas?

 

You can see a bare-bones example here: https://demo10.gdcitsolutions.com/accept.aspx .

Member
Posts: 2
Registered: ‎09-02-2018

Re: Accept Hosted iFrame Communicator not always embedded

Does the sample application make the form post to the Authorize.net URL on page load?

 

Initially, I was making my page get the token on page load, and then I expected the button click to get the hosted form and then display it--all in one step.

 

I now make make the page get the token, and immediately post to the Authorize.net URL to load the hosted form into the iframe. Then, the button click simply displays the modal that contains the iframe. This appears to be working much better.