When sending to multiple addresses the 'verifyAddress()' function doesn't
return error messages. Below I've shown where I've added "$ActionResults[] =
"$ErrorText";" to fix this.
ron
/*
** Verify data. Note, $actionShipAddress is used again, below.
*/
//check for required fields
$AddressIsGood = verifyAddress(
array("Name_First",
"Name_Last",
"Street1",
"City",
"StateProv",
"CountryCode",
"PostalCode",
"Phone1"),
$shipAddress, &$ErrorText);
if(!$AddressIsGood)
{
$ActionResults[] = "$ErrorText"; <-- missing
$continueScript = FALSE;
}
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]