Permalink
Browse files

This merchant accepts eCheck (ACH) transactions only; no credit card …

…transactions are accepted.
  • Loading branch information...
1 parent f1b31fb commit 039edfab072107e6c5031014591e22e2f7712e24 ethem committed Sep 4, 2006
Showing with 10 additions and 1 deletion.
  1. +9 −1 enrol/authorize/authorizenetlib.php
  2. +1 −0 lang/en_utf8/enrol_authorize.php
@@ -397,7 +397,15 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
}
break;
}
- // Electronic checks aren't accepted
+ // Echecks only
+ case AN_REASON_ACHONLY:
+ {
+ set_config('an_acceptmethods', AN_METHOD_ECHECK);
+ email_to_admin("$message " .
+ "This is new config(an_acceptmethods):", array(AN_METHOD_ECHECK));
+ break;
+ }
+ // Echecks aren't accepted
case AN_REASON_NOACH:
{
set_config('an_acceptmethods', AN_METHOD_CC);
@@ -154,6 +154,7 @@
$string['reason51'] = 'The sum of all credits against this transaction is greater than the original transaction amount.';
$string['reason54'] = 'The referenced transaction does not meet the criteria for issuing a credit.';
$string['reason55'] = 'The sum of credits against the referenced transaction would exceed the original debit amount.';
+$string['reason56'] = 'This merchant accepts eCheck (ACH) transactions only; no credit card transactions are accepted.';
$string['refund'] = 'Refund';
$string['refunded'] = 'Refunded';
$string['returns'] = 'Returns';

0 comments on commit 039edfa

Please sign in to comment.