From 095affdedc197432e0956e6d50f2bf01aef2b1cd Mon Sep 17 00:00:00 2001 From: ethem Date: Thu, 22 Dec 2005 19:15:34 +0000 Subject: [PATCH] AN_STATUS_EXPIRE fix. --- enrol/authorize/action.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrol/authorize/action.php b/enrol/authorize/action.php index a7720a6a4c5..c6626c02a59 100644 --- a/enrol/authorize/action.php +++ b/enrol/authorize/action.php @@ -175,7 +175,7 @@ function authorizenet_action(&$order, &$message, &$reason, &$extra, $action=AN_A $timediff = $timenowsettle - (30 * 3600 * 24); $timecreatedsettle = getsettletime($order->timecreated); if ($timecreatedsettle < $timediff) { - $order->status = AN_STATUS_EXPIRED; + $order->status = AN_STATUS_EXPIRE; $message = "Transaction must be captured within 30 days. EXPIRED!"; return false; } @@ -225,7 +225,7 @@ function authorizenet_action(&$order, &$message, &$reason, &$extra, $action=AN_A $timecreatedsettle = getsettletime($order->timecreated); if ($timecreatedsettle < $timediff) { $message = "Auth_only transaction must be voided within 30 days. EXPIRED!"; - $order->status = AN_STATUS_EXPIRED; + $order->status = AN_STATUS_EXPIRE; return false; } }