This from OCCRealexScriptTemplate.pl (18.2) lines 192 to 206
Client says Realex is missing ther 'City' input - this from post #35 above:
Is it just a matter of editing the address4 line in OCCRealexScriptTemplate.pl?
Would this work?
Thank you!
Code:
# # supply the cardholder's address details # AddPostValues ('&', 'SALUTATION', $::InvoiceContact{SALUTATION}, $OPTION, $REDIRECT); AddPostValues ('&', 'NAME', $::InvoiceContact{NAME}, $ALWAYS, $REDIRECT); AddPostValues ('&', 'JOBTITLE', $::InvoiceContact{JOBTITLE}, $OPTION, $REDIRECT); AddPostValues ('&', 'COMPANY', $::InvoiceContact{COMPANY}, $OPTION, $REDIRECT); AddPostValues ('&', 'ADDRESS1', $::InvoiceContact{ADDRESS1}, $ALWAYS, $REDIRECT); AddPostValues ('&', 'ADDRESS2', $::InvoiceContact{ADDRESS2}, $OPTION, $REDIRECT); AddPostValues ('&', 'ADDRESS3', $::InvoiceContact{ADDRESS3}, $OPTION, $REDIRECT); AddPostValues ('&', 'ADDRESS4', $::InvoiceContact{ADDRESS4}, $OPTION, $REDIRECT); AddPostValues ('&', 'COUNTRY', $::InvoiceContact{COUNTRY}, $OPTION, $REDIRECT); AddPostValues ('&', 'PHONE', $::InvoiceContact{PHONE}, $OPTION, $REDIRECT); AddPostValues ('&', 'FAX', $::InvoiceContact{FAX}, $OPTION, $REDIRECT); AddPostValues ('&', 'EMAIL', $::InvoiceContact{EMAIL}, $ALWAYS, $NOENCODE);
Code:
<input type="hidden" name="HPP_BILLING_CITY" value="Halifax">
Code:
AddPostValues ('&', 'ADDRESS4', $::InvoiceContact{ADDRESS4}, $OPTION, $REDIRECT); TO AddPostValues ('&', 'ADDRESS4', $::InvoiceContact{CITY}, $OPTION, $REDIRECT);
Thank you!
Comment