This is what we have
$authorizeAIMParams = array();
$authorizeAIMParams['x_solution_ID'] = 'A1000006';
$authorizeAIMParams['x_login'] = Configuration::get('AUTHORIZE_AIM_LOGIN_ID');
$authorizeAIMParams['x_tran_key'] = Configuration::get('AUTHORIZE_AIM_KEY');
$authorizeAIMParams['x_version'] = '3.1';
$authorizeAIMParams['x_delim_data'] = 'TRUE';
$authorizeAIMParams['x_delim_char'] = '|';
$authorizeAIMParams['x_relay_response'] = 'FALSE';
$authorizeAIMParams['x_type'] = 'AUTH_CAPTURE';
$authorizeAIMParams['x_method'] = 'CC';
$authorizeAIMParams['x_test_request'] = Configuration::get('AUTHORIZE_AIM_DEMO');
$authorizeAIMParams['x_invoice_num'] = (int)$params['cart']->id;
$authorizeAIMParams['x_amount'] = number_format($params['cart']->getOrderTotal(true, 3), 2, '.', '');
$authorizeAIMParams['x_address'] = $invoiceAddress->address1.' '.$invoiceAddress->address2;
$authorizeAIMParams['x_zip'] = $invoiceAddress->postcode;
$authorizeAIMParams['x_first_name'] = $this->context->customer->firstname;
$authorizeAIMParams['x_last_name'] = $this->context->customer->lastname;
The instruction for Zen Cart was to force the amount converted to USD as
'x_amount'
=>
$usd_transaction_value
,
http://www.zen-cart....2572#post212572
http://www.zen-cart....t-charge-in-USD!
Not sure what it would be here, it appears Zen Cart has better support than Prestashop...
Thanks!