projects
/
tc-ipn-receiver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de12f90
)
Disabled membersync component from tcIPN
author
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 28 Dec 2015 19:27:02 +0000
(14:27 -0500)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 28 Dec 2015 19:27:02 +0000
(14:27 -0500)
trustcommerceIPN.php
patch
|
blob
|
blame
|
history
diff --git
a/trustcommerceIPN.php
b/trustcommerceIPN.php
index 3b6807ee8bc41763acef546030afc9e39a6a3a7e..b09992dd22426a127a37671a5decb764966cf72e 100644
(file)
--- 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) {