Hello forum:
I am attempting to save a variable to an order custom field on the INVC page. This is the code:
<mvt:item name="toolkit" param="sassign|caret|^" />
<mvt:item name="toolkit" param="vassign|card-info|g.cc-name" />
<mvt:item name="toolkit" param="concat|card-info|g.card-info|g.caret" />
<mvt:item name="toolkit" param="concat|card-info|g.card-info|g.cc-last-four" />
&mvt:global:card-info;
<mvt:item name="customfields" param="Write_Order( l.settings:order:id, 'payment-info', g.card-info )" />
The custom field is written with a 0 (that's a zero) in the value column of the custom field for the order even though the variable
&mvt;global:card-info is displayed as: MasterCard^5875. The 2 cc- variables are being created on the OPAY page.
What am I doing wrong?
Larry
I am attempting to save a variable to an order custom field on the INVC page. This is the code:
<mvt:item name="toolkit" param="sassign|caret|^" />
<mvt:item name="toolkit" param="vassign|card-info|g.cc-name" />
<mvt:item name="toolkit" param="concat|card-info|g.card-info|g.caret" />
<mvt:item name="toolkit" param="concat|card-info|g.card-info|g.cc-last-four" />
&mvt:global:card-info;
<mvt:item name="customfields" param="Write_Order( l.settings:order:id, 'payment-info', g.card-info )" />
The custom field is written with a 0 (that's a zero) in the value column of the custom field for the order even though the variable
&mvt;global:card-info is displayed as: MasterCard^5875. The 2 cc- variables are being created on the OPAY page.
What am I doing wrong?
Larry
Comment