AnsweredAssumed Answered

HostedPayment Duplicate response iframe

Question asked by cristopher.pereira on Apr 4, 2019

Hi guys, 

We have the HostedPayment URL service embedded within an iframe in our web page https://certtransaction.hostedpayments.com/?TransactionSetupID=<ID>,

So during  the duplicate scenario testing with the amount $0.23 HostedPayment returns a DUPLICATE response error message within the iframe content as you can see in the attached screen shot, so we have a requirement to add a button to 'Retry' the payment in the PARENT WINDOW if the DUPLICATE error is displayed.

Do you know how to notify the parent window when there is an error such as the above within the iframe?

 

We were trying to access the iframe contentWindow with javascript coding but it is not enabled due the cross-origin security polices. https://www.w3schools.com/jsref/prop_frame_contentwindow.asp

 

 

Thanks,

Cristopher

Outcomes