From cafbec2ab56984152decc6a7b2ef7a5bd443bc13 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 11 Feb 2019 10:14:08 -0500 Subject: [PATCH] Blacklist address: Motley Dr --- CRM/Core/Payment/TrustCommerce.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Payment/TrustCommerce.php b/CRM/Core/Payment/TrustCommerce.php index e119d2c..64a7545 100644 --- a/CRM/Core/Payment/TrustCommerce.php +++ b/CRM/Core/Payment/TrustCommerce.php @@ -320,12 +320,11 @@ class CRM_Core_Payment_TrustCommerce extends CRM_Core_Payment { } private function _isParamsBlacklisted($tc_params) { - if($tc_params['amount'] == 101) { + if($tc_params['address1'] == '230 Motley Dr') { error_log("TrustCommerce: _isParamsBlacklisted() triggered"); return TRUE; - } else { - return FALSE; } + return FALSE; } /** -- 2.25.1