
Originally Posted by
tpeck
line 131 is the one that begins $service = ...
PHP Code:
require_once(realpath(dirname(__FILE__).'/eway_rapid/lib/eWAY/RapidAPI.php'));
$__username = MODULE_PAYMENT_EWAYRAPID_USERNAME;
$__password = MODULE_PAYMENT_EWAYRAPID_PASSWORD;
$__sandbox = ( MODULE_PAYMENT_EWAYRAPID_MODE == 'True' ) ? true : false;
$eway_params = array();
if ($__sandbox) $eway_params['sandbox'] = true;
$service = new eWAY\RapidAPI($__username, $__password, $eway_params);
// Create AccessCode Request Object
$request = new eWAY\CreateAccessCodesSharedRequest();
Just downloaded that module and opened the file zencart/includes/modules/payment/eway_rapid.php
Download link: http://www.zen-cart.com/showthread.p...93#post1187193
Line 131 of that file reads
PHP Code:
$request->ShippingAddress->Country = strtolower(strval($order->delivery['country']['iso_code_2']));
Are you using that module?
If so, has it been installed according to instructions as that file looks different to the one I just downloaded?