From: Lisa Marie Maginnis Date: Tue, 21 Apr 2015 17:01:44 +0000 (-0400) Subject: Added case for stats ACCEPTED (updates) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=45f26143f6b1ba2456e357a658fc8f377dcbbec1;p=trustcommerce.git Added case for stats ACCEPTED (updates) --- diff --git a/trustcommerce.php b/trustcommerce.php index 8110015..310cc5a 100644 --- 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: