$flp->flpRequest->billingCity = "New York"; $flp->flpRequest->billingZIPCode = "00001"; $flp->flpRequest->billingState = "New York"; $flp->flpRequest->billingCountry = "US"; $flp->flpRequest->shippingAddress = "1-2-3 Street A"; $flp->flpRequest->shippingCity = "New York"; $flp->flpRequest->shippingZIPCode = "30002"; $flp->flpRequest->shippingState = "NY"; $flp->flpRequest->shippingCountry = "US"; $flp->flpRequest->amount = 123.00; $flp->flpRequest->quantity = 2; $flp->flpRequest->currency = 'USD'; $flp->flpRequest->paymentMode = 'creditcard';
$result = $flp->fraudCheck();
if ($flp->flpResponse->isBillShipCountryMatch == "Y") echo "Is Billing Country match the Shipping Country: Yes<br/>"; else if ($flp->flpResponse->isBillShipCountryMatch == "N") echo "Is Billing Country match the Shipping Country: No<br/>";
if ($flp->flpResponse->isBillShipStateMatch == "Y") echo "Is Billing State match the Shipping State: Yes<br/>"; else if ($flp->flpResponse->isBillShipStateMatch == "N") echo "Is Billing State match the Shipping State: No<br/>";
if ($flp->flpResponse->isBillShipCityMatch == "Y") echo "Is Billing City match the Shipping City: Yes<br/>"; else if ($flp->flpResponse->isBillShipCityMatch == "N") echo "Is Billing City match the Shipping City: No<br/>";
if ($flp->flpResponse->isBillShipPostalMatch == "Y") echo "Is Billing Postal match the Shipping Postal: Yes<br/>"; else if ($flp->flpResponse->isBillShipPostalMatch == "N") echo "Is Billing Postal match the Shipping Postal: No<br/>";
if ($flp->flpResponse->isAddressShipForward == "Y") echo "Is the address a Ship Forward or P.O.Box: Yes<br/>"; else if ($flp->flpResponse->isBillShipPostalMatch == "N") echo "Is the address a Ship Forward or P.O.Box: No<br/>";
if ($flp->flpResponse->isHighRiskCountry == "Y") echo "Is the billing country is a high risk country: Yes<br/>"; else if ($flp->flpResponse->isHighRiskCountry == "N") echo "Is the billing country is a high risk country: No<br/>";
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.