I know you set this up for your store, but I'm hoping it's simple enough for someone like you to add four more tags. Any chance, please? I know these are the tags-
<PCDestZip>
<PCOrderNum>
<TaxInd>
<Tax>
and I know they go in this part of modules/payment/paymentech.php-
PHP Code:
<NewOrder>
<IndustryType>EC</IndustryType>
<MessageType>" . ( MODULE_PAYMENT_PAYMENTECH_AUTHORIZATION_TYPE == 'Authorize' ? 'A' : 'AC' ) . "</MessageType>
<BIN>" . MODULE_PAYMENT_PAYMENTECH_BIN . "</BIN>
<MerchantID>" . $MerchantID . "</MerchantID>
<TerminalID>" . MODULE_PAYMENT_PAYMENTECH_TERMINAL_ID . "</TerminalID>
<AccountNum>" . $_POST['cc_number'] . "</AccountNum>
<Exp>" . $_POST['cc_expires'] . "</Exp>
<CurrencyCode>" . ( $_SESSION['currency'] == 'CAD' ? '124' : '840' ) . "</CurrencyCode>
<CurrencyExponent>2</CurrencyExponent>"
. ( ( $_POST['cc_type'] == 'MasterCard' ) || ( $_POST['cc_type'] == 'Visa' ) ? '
' : '') . "
<CardSecVal>" . $_POST['cc_cvv'] . "</CardSecVal>
<AVSzip>" . $order->billing['postcode'] . "</AVSzip>
<AVSaddress1>" . $order->billing['street_address'] . "</AVSaddress1>"
. ( $order->billing['suburb'] ? '
<AVSaddress2>' . $order->billing['suburb'] . '</AVSaddress2>' : '' ) . "
<AVScity>" . $order->billing['city'] . "</AVScity>
<AVSstate>" . $paymentech_state_billing_code . "</AVSstate>
<AVSphoneNum>" . substr(eregi_replace("[^0-9]", null, $order->customer['telephone']), 0, 14) . "</AVSphoneNum>
<AVSname>" . $_POST['cc_owner'] . "</AVSname>
<AVScountryCode>" . $paymentech_country_billing_code . "</AVScountryCode>
<OrderID>" . $new_order_id . "</OrderID>
<Amount>" . number_format(($order->info['total'] * $order->info['currency_value']), 2) *100 . "</Amount>
</NewOrder>
My skills are limited and I tried adding them based on what's already there, but don't see a straightforward pattern.
R
Bookmarks