i have had a look but as i have limited knowledge of php i'm not really sure whats going on, i assume the bug is in Adv_CO_Scripts\eWAY_XML_PHP.php
here is a snippet from that file...
<?php
if (!session_id()) session_start();
$WA_eWAY_VersionNumber = "2.20";
function eWAY_XML_Post($reqArray,$itemArray,$optArray) {
global $WA_eWAY_VersionNumber;
$varvalueArray = array();
for ($x=0; $x<count($reqArray[0]); $x++) {
$varvalueArray[strtolower($reqArray[0][$x])] = $reqArray[1][$x];
}
for ($x=0; $x<count($optArray[0]); $x++) {
$varvalueArray[strtolower($optArray[0][$x])] = $optArray[1][$x];
}
for ($x=0; $x<2; $x++) {
$varvalueArray[strtolower($itemArray[0][$x])] = $itemArray[1][$x];
}
$usecvn = ((isset($varvalueArray["usecvn"]) && $varvalueArray["usecvn"] == "true") ? true : false);
$usetest = ((isset($varvalueArray["testingserver"]) && $varvalueArray["testingserver"] == "true") ? true : false);
$usest = ((isset($varvalueArray["storedtransaction"]) && $varvalueArray["storedtransaction"] == "true") ? true : false);
$postXML = "<ewaygateway>".
"<ewayCustomerID>" . $varvalueArray["ewaycustomerid"] . "</ewayCustomerID>".
"<ewayTotalAmount>" . $varvalueArray["ewaytotalamount"] . "</ewayTotalAmount>";
is it something to do with the statement ($x=0; $x<2; $x++) from line 14?