From 571c18307d7bfb51b386283e3628139a50811d1c Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Mon, 28 Dec 2015 14:27:02 -0500 Subject: [PATCH] Disabled membersync component from tcIPN --- trustcommerceIPN.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trustcommerceIPN.php b/trustcommerceIPN.php index 3b6807e..b09992d 100644 --- a/trustcommerceIPN.php +++ b/trustcommerceIPN.php @@ -202,8 +202,10 @@ class CRM_Core_Payment_trustcommerce_IPN extends CRM_Core_Payment_BaseIPN { $msg = 'TrustCommerceIPN: Created contribution: '.$ids['contribution'].' for contact: '.$ids['contact'].' amount: $'.$input['amount'].' trxn_id: '.$input['trxn_id'].' status: Failed'."\n"; echo $msg; CRM_Core_Error::debug_log_message($msg); - - return $this->failed($objects, $transaction); + + /* Disable cancelling transactions */ + $input['skipComponentSync'] = 1; + return $this->failed($objects, $transaction, $input); } if ($sendNotification) { -- 2.25.1