Hi, I'm trying to get around the prompt to enter a check number when a user selects the 'Check' payment method. It seems like an easy way to do it would be to assign a check number behind the scenes, without displaying the prompt to enter the check number.
I'm having a hard time determining the right variable. I tried posting a regular order, entering check number '222' into the prompt, then using TokenList to look for the number 222 on both OPAY and INVC. It didn't turn up. So I'm wondering where the check number gets passed.
I tried adding something like this to the OPAY form:
<mvt:if expr="l.settings:payment:desc EQ 'Check'">
<mvt:assign name="l.settings:payments:field" value="222" />
Select Continue to complete your order.
I tried a few other variants of the variable as well. Still get an error message that a field was filled out incorrectly, so it seems the check number isn't being assigned.
Is this possible what I'm trying to do?
Thanks!
Kyle Creasy, Alphatect
I'm having a hard time determining the right variable. I tried posting a regular order, entering check number '222' into the prompt, then using TokenList to look for the number 222 on both OPAY and INVC. It didn't turn up. So I'm wondering where the check number gets passed.
I tried adding something like this to the OPAY form:
<mvt:if expr="l.settings:payment:desc EQ 'Check'">
<mvt:assign name="l.settings:payments:field" value="222" />
Select Continue to complete your order.
I tried a few other variants of the variable as well. Still get an error message that a field was filled out incorrectly, so it seems the check number isn't being assigned.
Is this possible what I'm trying to do?
Thanks!
Kyle Creasy, Alphatect
Comment