Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 4
Registered: ‎07-18-2018

Sudden behaviour : iFrame is not resizing in safari 12.

Hi Team,

 

We are using accept hosted payment form with iFrame. It was working since last more than 1 year.

It was working fine with all browser but suddenly it stop resizing in safari 12.  I frame is not resizing and not completing payment processing after click on Continue.

 

Note: safari 12 is recenlty launched with some security feature.

 

When I check browser's console, I am getting below error :

 Refused to display 'https://xx.xx.xx.xx:8443/xxxxx/xxxx/xxxxx/IframeCommunicator.html#action=resizeWindow&width=300&heig...' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

 

while in code we have added 

"X-FRAME-OPTIONS"--> SAMEORIGIN);
"Content-Security-Policy", "frame-ancestors 'self' *.authorize.net"

 

It is working fine in other browser and safari<12 version.

 

Does anyone facing same issue ?

Any Idea why sudenly it is breaking ?

 

thanks in advance,

Ravi