I've got the Accept Hosted form in an iFrame and everything is working.
One thing I've noticed is that I can't adjust the delay when a transaction is denied (incorrect address for example). It forces the user to wait 2 minutes before trying again.
What I'd like to do is capture that denied event and alert the user that they must wait 2 minutes before trying again.
I tried monitoring the params variable but beyond resize, cancel, and the transaction response, I'm not seeing any other events.
Is this possible, what am I missing?
Thank you,
Jay
12-14-2017 11:53 AM
@jayharland84 I have read through the article and looks like if we have allow = {right attribute name} google would still allow the iframe displayed. I am still figuring out the right value to pass from html page so that iframe can show the respective data for accept component.
Will get back to you tomorrow on this.
-Bhavana
Valid values for allow include:
12-14-2017 05:46 PM
Thank you, any update?
12-18-2017 11:20 AM
Still searching for a solution.
12-20-2017 01:49 PM
Still hoping to create something that can utilize a denied message.
12-22-2017 07:52 AM
@jayharland84 I was out of office for around a week. So, delayed in responding this thread. I have tried the IFrame sceanrio in Sandbox and found that the error message is displayed right away on the IFrame for any Processor Issue. I was talking to feature team dev-Surya about this and he is going to connect with you here.
12-26-2017
04:11 PM
- last edited on
12-26-2017
05:25 PM
by
RichardH
hi Jay,
If there is error in payment processing, the error message is displayed right above the pay button and the button should be enabled for retry. There will not be event generated in this case. However, to avoid the delay, there is an option while generating the token. Right after the <amount> element, please pass the below transactionSettings element where settingValue will determine the delay in minutes, 0 means no delay.
<transactionSettings>
<setting>
<settingName>duplicateWindow</settingName>
<settingValue>1</settingValue>
</setting>
</transactionSettings>
Hope this helps.
Surya
12-26-2017 05:11 PM
I actually have attempted the IFrame sceanrio in Sandbox and observed that the error message is displayed proper away at the IFrame for any Processor Issue on my reviews page. I become speaking to function group dev-Surya about this and he goes to connect with you right here.
04-05-2021 06:51 PM