Skip to content

Commit

Permalink
AN_STATUS_EXPIRE fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethem committed Dec 22, 2005
1 parent 224abcd commit 095affd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enrol/authorize/action.php
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 095affd

Please sign in to comment.