]> git.mjollnir.org Git - moodle.git/commitdiff
This merchant accepts eCheck (ACH) transactions only; no credit card transactions...
authorethem <ethem>
Mon, 4 Sep 2006 07:51:15 +0000 (07:51 +0000)
committerethem <ethem>
Mon, 4 Sep 2006 07:51:15 +0000 (07:51 +0000)
enrol/authorize/authorizenetlib.php
lang/en_utf8/enrol_authorize.php

index 3036b55f08c4026f927402be91e660946ab66522..646b55637725d3a979cb6b9a11462b19f7d0b8f7 100644 (file)
@@ -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);
index fbc27e8590d965dc61f532fa9689c4b4d9c7fa65..3d484bb33b55fabedf7e05f4de867c434e507d3b 100644 (file)
@@ -154,6 +154,7 @@ $string['reason50'] = 'This transaction is awaiting settlement and cannot be ref
 $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';