this helps us know which rule triggered the blacklist for that
transaction. this helps us know whether our rules are working properly.
// quidam 18/Jun/2020
// block brazil small donations
if(($tc_params['country'] == 'BR') && ($tc_params['amount'] < 2000)) {
- error_log("TrustCommerce: _isParamsBlacklisted() triggered");
+ error_log("TrustCommerce: _isParamsBlacklisted() triggered by BR country");
return TRUE;
}
if($tc_params['address1'] == '230 Motley Dr') {
- error_log("TrustCommerce: _isParamsBlacklisted() triggered");
+ error_log("TrustCommerce: _isParamsBlacklisted() triggered by 230 Motley Dr address");
return TRUE;
}
return FALSE;