From 2f9398a02995c34942e9129f4d4e877873c889ad Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Thu, 25 Jan 2018 12:49:34 -0500 Subject: [PATCH] Updated hack that prevents failed transactions from marking membership as canceled The change is needed due to upstream commit 0bad10e7 which relates to https://issues.civicrm.org/jira/browse/CRM-16523 I don't see a "correct" way to do this... --- trustcommerceIPN.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustcommerceIPN.php b/trustcommerceIPN.php index 142cf4e..3f459bc 100644 --- a/trustcommerceIPN.php +++ b/trustcommerceIPN.php @@ -289,7 +289,7 @@ class CRM_Core_Payment_trustcommerce_IPN extends CRM_Core_Payment_BaseIPN { CRM_Core_Error::debug_log_message($msg); /* Disable cancelling transactions */ - $input['skipComponentSync'] = 1; + $input['IAmAHorribleNastyBeyondExcusableHackInTheCRMEventFORMTaskClassThatNeedsToBERemoved'] = 1; /* Action for repeated failures */ if(MAX_FAILURES <= $lastfailures) { -- 2.25.1