catalog/includes/modules/payment/sage_pay_direct.php 1 location
|
@@ 453-455 (lines=3) @@
|
| 450 |
|
$params['TxType'] = 'AUTHENTICATE'; |
| 451 |
|
} |
| 452 |
|
|
| 453 |
|
if ($params['BillingCountry'] == 'US') { |
| 454 |
|
$params['BillingState'] = tep_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], ''); |
| 455 |
|
} |
| 456 |
|
|
| 457 |
|
if ($params['DeliveryCountry'] == 'US') { |
| 458 |
|
$params['DeliveryState'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], ''); |
catalog/includes/modules/payment/sage_pay_form.php 1 location
|
@@ 140-142 (lines=3) @@
|
| 137 |
|
'BillingPostCode' => substr($order->billing['postcode'], 0, 10), |
| 138 |
|
'BillingCountry' => $order->billing['country']['iso_code_2']); |
| 139 |
|
|
| 140 |
|
if ($crypt['BillingCountry'] == 'US') { |
| 141 |
|
$crypt['BillingState'] = tep_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], ''); |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
$crypt['BillingPhone'] = substr($order->customer['telephone'], 0, 20); |
| 145 |
|
$crypt['DeliverySurname'] = substr($order->delivery['lastname'], 0, 20); |
catalog/includes/modules/payment/sage_pay_server.php 1 location
|
@@ 184-186 (lines=3) @@
|
| 181 |
|
$params['TxType'] = 'AUTHENTICATE'; |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
if ($params['BillingCountry'] == 'US') { |
| 185 |
|
$params['BillingState'] = tep_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], ''); |
| 186 |
|
} |
| 187 |
|
|
| 188 |
|
if ($params['DeliveryCountry'] == 'US') { |
| 189 |
|
$params['DeliveryState'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], ''); |