From 2f23bd2f3192524a6a26179f902421c164f974b8 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Tue, 2 Aug 2016 11:26:13 -0400 Subject: [PATCH] Started fixing comments, added template for disableAutorenew() --- trustcommerceIPN.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/trustcommerceIPN.php b/trustcommerceIPN.php index 532c70a..f28a5b7 100644 --- a/trustcommerceIPN.php +++ b/trustcommerceIPN.php @@ -133,6 +133,10 @@ class CRM_Core_Payment_trustcommerce_IPN extends CRM_Core_Payment_BaseIPN { } } + protected function disableAutorenew($recur_id) { + + } + protected function checkDuplicate($input, $ids) { // $sql='select id from civicrm_contribution where receive_date like \''.$input['date'].'%\' and total_amount='.$input['amount'].' and contact_id='.$ids['contact'].' and contribution_status_id = 1 limit 1'; $sql="select id from civicrm_contribution where trxn_id = '".$ids['trxn_id']."'"; @@ -280,6 +284,7 @@ class CRM_Core_Payment_trustcommerce_IPN extends CRM_Core_Payment_BaseIPN { $ids['contribution'] = $result->coid; $ids['contributionRecur'] = $result->id; $ids['contact'] = $result->contact_id; + $ids['processor_id'] = $billingid; if (!$ids['contributionRecur']) { CRM_Core_Error::debug_log_message("Could not find billingid: ".$billingid); -- 2.25.1