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:
802589c
)
Save contribution, prevents insertion failure
author
Ruben Rodriguez
<ruben@fsf.org>
Mon, 13 Mar 2017 14:51:47 +0000
(10:51 -0400)
committer
Ruben Rodriguez
<ruben@fsf.org>
Mon, 13 Mar 2017 14:51:47 +0000
(10:51 -0400)
trustcommerceIPN.php
patch
|
blob
|
blame
|
history
diff --git
a/trustcommerceIPN.php
b/trustcommerceIPN.php
index 733e87e10196fa1aa6e1b9ce2b7e1f0f37ebd733..e93bf6b52b7febc1af16ae4411a4b6e2ada9fcd1 100644
(file)
--- a/
trustcommerceIPN.php
+++ b/
trustcommerceIPN.php
@@
-161,7
+161,7
@@
class CRM_Core_Payment_trustcommerce_IPN extends CRM_Core_Payment_BaseIPN {
$recur->fee = 0;
$recur->net_amount = $input['amount'];
- $
contribution
->save();
+ $
objects['contribution']
->save();
if ($input['status'] == 1) {