"You must supply a country for the delivery address",
"You must supply your shop id",
"You must supply a product code ",
"Attempt to purchase a non existent item",
"Del_id/Product_id count wrong",
"Var_id/Product_id count wrong",
"Qty/Product_id count wrong",
"Email address used by fraudsters in the past unable to accept this order",
"IP address used by fraudsters in the past unable to accept this order",
"Invalid card details",
"Declined Card",
"You must supply a payment method",
"Payment method must be in the range 1 - 5",
"Call Authorisation Centre",
"Comms failure - Thankyou for the order, do NOT re-order as we will keep trying every 15 minutes to get an authorisation.",
"Incorrect expiry date",
"Value enterted into Switch /Solo issue number field despite not being a Switch or Solo card. (We have also had this result code when the expiry date is way too far in the future).",
"Affiliate account is closed. <A HREF=\"a.php?affil=\">Click here</a> and try again.",
"SWREG down for maintenance (probably only for 15 minutes)",
"Discover card will be processed manually same or following business day. Please do not reorder.",
"Store closed for sales - get this one and it shows we no longer wish to sell your products!",
"Problem with the card data - the bank doesn't like it.",
"Failed country check - On the banned country list",
"Problem with bin range - we do not (yet) know how to deal with the card (Bin range is first 6 numbers of the card so we do not know who owns it to route the payment request).",
"Duplicate order trap (if you sent us a value in variable &vt=)",
"Country name not valid - use our list of country names to avoid this error. A list of country names we accept is available by going to https://usd.swreg.org/cgi-bin/b.cgi?s=2034&p=2034get1&v=0&d=0&q=1&t= and grabbing the list from our html code. ");
$ret['msg']=$messages[$swreg["result"]];
# AVS Details:
$ret['avs']='avs_na';
if($ret['status']==1){
return$ret;
}else{
global$VAR;
@$VAR['msg']=$ret["msg"];
returnfalse;
}
}
# Stores new billing details, & return account_billing_id (gateway only)