We've been having people not check the reCaptcha checkbox during checkout, even though its right above our submit button.
If they don't check it, click submit, and they are checking out with Amazon Pay, it reloads the OPAY screen instead of AMAZONPAY_OPAY.
This can be a bit confusing for the user if they don't know (most probably don't) to go back to the BASK screen and click the Amazon Pay button again and start over.
So, I have come up with this idea:
On OPAY (within the head tag):
Then in the Error and Information Messages Content section (right after the default error/info messages iterators):
Just wanted to double check and see if there is anything bad about doing this?
Is that a reliable conditional to use on OPAY that won't effect other payment method errors for the meta refresh?
Are there any other factors on AMAZONPAY_OPAY that might trigger the 'One or more required fields were not filled out correctly' error other than not checking the reCaptcha checkbox?
Thanks in advance.
If they don't check it, click submit, and they are checking out with Amazon Pay, it reloads the OPAY screen instead of AMAZONPAY_OPAY.
This can be a bit confusing for the user if they don't know (most probably don't) to go back to the BASK screen and click the Amazon Pay button again and start over.
So, I have come up with this idea:
On OPAY (within the head tag):
Code:
<mvt:if expr="('One or more required fields were not filled out correctly' CIN g.Error_Messages) AND ('amazonpay' CIN g.PaymentMethod)">
<meta http-equiv="refresh" content="15;url=&mvte:urls:AMAZONPAY_OSEL:auto;" />
</mvt:if>
Then in the Error and Information Messages Content section (right after the default error/info messages iterators):
Code:
<mvt:comment><!-- AMAZON PAY MESSAGE ON OPAY BEFORE 15 SECOND META REFRESH TO AMAZONPAY_OSEL --></mvt:comment>
<mvt:if expr="l.settings:page:code EQ 'OPAY'">
<mvt:if expr="('One or more required fields were not filled out correctly' CIN g.Error_Messages) AND ('amazonpay' CIN g.PaymentMethod)">
<div class="column whole">
<p class="message message-error">
You forgot to Check the "I'm not a robot" box.<br /><br /><br />The page will redirect to Shipping Selection in 15 seconds.<br /><br />Please try again after the page reloads.
</p>
</div>
</mvt:if>
</mvt:if>
Just wanted to double check and see if there is anything bad about doing this?
Is that a reliable conditional to use on OPAY that won't effect other payment method errors for the meta refresh?
Are there any other factors on AMAZONPAY_OPAY that might trigger the 'One or more required fields were not filled out correctly' error other than not checking the reCaptcha checkbox?
Thanks in advance.
Comment