From 45f26143f6b1ba2456e357a658fc8f377dcbbec1 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Tue, 21 Apr 2015 13:01:44 -0400 Subject: [PATCH] Added case for stats ACCEPTED (updates) --- trustcommerce.php | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.25.1