projects
/
trustcommerce.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80f885
)
Added case for stats ACCEPTED (updates)
author
Lisa Marie Maginnis
<lisam@fsf.org>
Tue, 21 Apr 2015 17:01:44 +0000
(13:01 -0400)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Tue, 21 Apr 2015 17:01:44 +0000
(13:01 -0400)
trustcommerce.php
patch
|
blob
|
blame
|
history
diff --git
a/trustcommerce.php
b/trustcommerce.php
index 8110015aadbd72a279ad35ad90c491207e5b4c84..310cc5a4c26389b9823508d3ce3c25125dba30d5 100644
(file)
--- a/
trustcommerce.php
+++ b/
trustcommerce.php
@@
-35,6
+35,7
@@
class org_fsf_payment_trustcommerce extends CRM_Core_Payment {
CONST AUTH_BADDATA = 'baddata';
CONST AUTH_ERROR = 'error';
CONST AUTH_BLACKLIST = 'blacklisted';
+ CONST AUTH_ACCEPTED = 'accepted';
static protected $_mode = NULL;
@@
-336,6
+337,8
@@
class org_fsf_payment_trustcommerce extends CRM_Core_Payment {
return self::error(9001, "Your transaction was declined: error #90210");
break;
case self::AUTH_APPROVED:
+ break;
+ case self::AUTH_ACCEPTED:
// It's all good
break;
case self::AUTH_DECLINED: