cancel
Showing results for 
Search instead for 
Did you mean: 

AuthorizeNetIFrame.onReceiveCommunication Never receiving communication.

Hi all,

I am implementing the IFrame Accept Hosted solution. Using very much the same code from the examples on https://developer.authorize.net/api/reference/features/accept_hosted.html.
I can bring up the hosted payment form inside my Iframe. 
I can fill out the payment form and when I click the "Pay" button it changes to "Processing..." and then nothing. I have console logs in the JS file that should hit when AuthorizeNetIFrame.onReceiveCommunication fires, but nothing is logged in the console.

 

I do get an email from Auto-Receipt with the subject Merchant Email Receipt.

 

The browser console does give me a few issues. But it's just:

 

"A cookie associated with a cross-site resource at (mysite OR http://authorize.net/) was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at... etc.."

I don't believe that is the case with this though.

Any advice? Help?

Scott_GQ
Member
1 REPLY 1

Scott,

I worked through the cookie message adding the atttributes SameSite=None; Secure;

But I'm still having exactly the same issues as you posted.

Please let me know if you solved this, and how...

Thanks!

marine2026
Trusted Contributor