]> git.mjollnir.org Git - moodle.git/commitdiff
* New strings for Authorize.net eCheck.
authorethem <ethem>
Fri, 1 Sep 2006 09:04:11 +0000 (09:04 +0000)
committerethem <ethem>
Fri, 1 Sep 2006 09:04:11 +0000 (09:04 +0000)
Authorize.Net provides an exclusive, fully integrated electronic check payment method, eCheck.Net.
Using eCheck.Net, merchants can accept and process payments from consumer and corporate bank accounts
directly from their Web site or through the Authorize.Net Virtual Terminal. By accepting electronic checks,
you expand the payment options available to new and existing customers, enhancing customer loyalty and
potentially increasing sales.

+ Lower Fees - Lower rates than credit cards or PayPal.
+ More Efficient - eCheck.Net does everything online, eliminating the cost and inconvenience of manually
  processing paper checks and waiting for checks in the mail.
+ Fully Integrated Solution - No third-party integration required implementing eCheck.Net is easy
  for merchants already using the Authorize.Net Payment Gateway.
+ Integrated Reporting - Provides a combined view of all eCheck.Net and credit card payment transactions.
  Reconcile payment and billing activity using online reports and statements.
+ Ship Product Sooner - Improved up-front transaction validation that returns the status of transactions faster.
+ Security - Authorize.Net uses the latest 128-bit Secure Socket Layer (SSL) technology for
  secure Internet Protocol (IP) transactions.

enrol/authorize/config.html
enrol/authorize/enrol.html
lang/en_utf8/enrol_authorize.php

index 7c8ad4db212165fa59f1a3eec939e875a90a45f7..1020fc1f9a243b577f1c28b7c6277e8f44a0c109 100755 (executable)
@@ -132,23 +132,23 @@ if (!isset($frm->acceptccs)) {
 
 <tr valign="top">
     <td align="right">an_acceptmethods:</td>
-    <td><?php
+    <td><?php print_string("adminacceptmethods", "enrol_authorize") ?><br /><?php
     $allpaymentmethods = enrolment_plugin_authorize::get_list_of_payment_methods(true);
     $paymentmethodsenabled = enrolment_plugin_authorize::get_list_of_payment_methods();
     foreach ($allpaymentmethods as $key) {
         print_checkbox('acceptmethods[]', $key, in_array($key, $paymentmethodsenabled), get_string('method'.strtolower($key),'enrol_authorize')); echo "<br />\n";
     }
-    ?><br /><?php print_string("adminacceptmethods", "enrol_authorize") ?></td>
+    ?><br /></td>
 </tr>
 
 <tr valign="top">
     <td align="right">an_acceptccs:</td>
-    <td><?php
+    <td><?php print_string("adminacceptccs", "enrol_authorize") ?><br /><?php
     $allccs = enrolment_plugin_authorize::get_list_of_creditcards(true);
     foreach ($allccs as $key => $val) {
         print_checkbox('acceptccs[]', $key, stristr($CFG->an_acceptccs, $key) !== false, $val); echo "<br />\n";
     }
-    ?><br /><?php print_string("adminacceptccs", "enrol_authorize") ?></td>
+    ?><br /></td>
 </tr>
 
 <tr valign="top"><td colspan="2"><h4><?php print_string("adminauthorizeccapture", "enrol_authorize") ?>
index 6135da909a08aa705d8372d8297210db657e7ebe..9f6aa799e74a7a76fa559a6e892a7cff1cd5c01e 100755 (executable)
@@ -52,6 +52,7 @@ function print_cc_form($classreference)
     <p align="center"><?php if (!empty($classreference->authorizeerrors['header'])) { formerr($classreference->authorizeerrors['header']); } ?></p>
     <div align="center">
 
+    <p align="right"><?php print_other_method(AN_METHOD_CC) ?></p>
     <p><?php print_string("paymentrequired") ?></p>
     <p><b><?php echo get_string("cost").": $curcost[currency] $curcost[cost]"; ?></b></p>
     <p><?php print_string("paymentinstant") ?></p>
@@ -60,9 +61,6 @@ function print_cc_form($classreference)
     <input type="hidden" name="id" value="<?php p($course->id) ?>" />
     <input type="hidden" name="paymentmethod" value="<?php p(AN_METHOD_CC) ?>" />
     <table align="center" width="100%" border=0>
-    <tr>
-      <td align="right" colspan="2">&nbsp;<?php print_other_method(AN_METHOD_CC); ?></td>
-    </tr>
     <tr>
       <td align="right"><?php print_string("ccno", "enrol_authorize") ?>: </td>
       <td align="left"><input type="text" name="cc" size="16" value="<?php p($form->cc) ?>" />
@@ -164,6 +162,7 @@ function print_echeck_form($classreference)
     <p align="center"><?php if (!empty($classreference->authorizeerrors['header'])) { formerr($classreference->authorizeerrors['header']); } ?></p>
     <div align="center">
 
+    <p align="right"><?php print_other_method(AN_METHOD_ECHECK) ?></p>
     <p><?php print_string("paymentrequired") ?></p>
     <p><b><?php echo get_string("cost").": $curcost[currency] $curcost[cost]"; ?></b></p>
     <p><?php print_string("paymentinstant") ?></p>
@@ -175,9 +174,6 @@ function print_echeck_form($classreference)
     echeck form (not ready)
 
     <table align="center" width="100%" border=0>
-    <tr>
-      <td align="right" colspan="2">&nbsp;<?php print_other_method(AN_METHOD_ECHECK); ?></td>
-    </tr>
     <tr>
       <td align="right"><?php print_string("echeckabacode", "enrol_authorize") ?>: </td>
       <td align="left"><input type="text" name="abacode" size="9" maxlength="9" value="<?php p($form->abacode) ?>" />
index 69da8157b021e346aa68dfdc39cb53e97fef5cf8..da24ddbe676886266e33d662e132b3167d98e7bd 100644 (file)
@@ -1,8 +1,9 @@
-<?PHP // $Id$
-      // enrol_authorize.php - created with Moodle 1.7 dev (2006050501)
+<?PHP // $Id$ 
+      // enrol_authorize.php - created with Moodle 1.7 dev (2006083102)
 
 
 $string['adminacceptccs'] = 'Which credit card types will be accepted?';
+$string['adminacceptmethods'] = 'Which payment methods will be accepted?';
 $string['adminauthorizeccapture'] = 'Order Review & Scheduled-Capture Settings';
 $string['adminauthorizeemail'] = 'Email Sending Settings';
 $string['adminauthorizesettings'] = 'Authorize.net Settings';
@@ -80,12 +81,27 @@ $string['costdefaultdesc'] = '<strong>In course settings, enter -1</strong> to c
 $string['cutofftime'] = 'Transaction Cut-Off Time. When the last transaction is picked up for settlement?';
 $string['delete'] = 'Destroy';
 $string['description'] = 'The Authorize.net module allows you to set up paid courses via CC providers.  If the cost for any course is zero, then students are not asked to pay for entry.  Two ways to set the course cost (1) a site-wide cost as a default for the whole site or (2) a course setting that you can set for each course individually. The course cost overrides the site cost.<br /><br /><b>Note:</b> If you enter an enrolment key in the course settings, then students will also have the option to enrol using a key. This is useful if you have a mixture of paying and non-paying students.';
+$string['echeckabacode'] = 'Bank ABA Number';
+$string['echeckaccnum'] = 'Bank Account Number';
+$string['echeckacctype'] = 'Bank Account Type';
+$string['echeckbankname'] = 'Bank Name';
+$string['echeckbusinesschecking'] = 'Business Checking';
+$string['echeckchecking'] = 'Checking';
+$string['echeckfirslasttname'] = 'Bank Account Owner';
+$string['echecksavings'] = 'Savings';
 $string['enrolname'] = 'Authorize.net Payment Gateway';
 $string['expired'] = 'Expired';
 $string['howmuch'] = 'How much?';
 $string['httpsrequired'] = 'We are sorry to inform you that your request cannot be processed now. This site\'s configuration couldn\'t be set up correctly.<br /><br />Please don\'t enter your credit card number unless you see a yellow lock at the bottom of the browser. If the symbol appears, it means the page encrypts all data sent between client and server. So the information during the transaction between the two computers is protected, hence your credit card number cannot be captured over the internet.';
+$string['invalidaba'] = 'Invalid ABA number';
+$string['invalidaccnum'] = 'Invalid account number';
+$string['invalidacctype'] = 'Invalid account type';
 $string['logindesc'] = 'This option must be ON. <br /><br />Please ensure that you have turned <a href=\"$a->url\">loginhttps ON</a> in Admin >> Variables >> Security.<br /><br />Turning this on will make Moodle use a secure https connection just for the login and payment pages.';
+$string['methodcc'] = 'Credit Card';
+$string['methodecheck'] = 'eCheck (ACH)';
+$string['missingaba'] = 'Missing ABA number';
 $string['missingaddress'] = 'Missing address';
+$string['missingbankname'] = 'Missing bank name';
 $string['missingcc'] = 'Missing card number';
 $string['missingccexpire'] = 'Missing expiration date';
 $string['missingcctype'] = 'Missing card type';
@@ -151,6 +167,8 @@ $string['testmode'] = '[TEST MODE]';
 $string['testwarning'] = 'Capture/Void/Credit seems working in test mode, but no record was updated or inserted in database.';
 $string['transid'] = 'Transaction ID';
 $string['unenrolstudent'] = 'Unenrol student?';
+$string['usingccmethod'] = 'Enrol using <a href=\"$a->url\"><strong>Credit Card</strong></a>';
+$string['usingecheckmethod'] = 'Enrol using <a href=\"$a->url\"><strong>eCheck</strong></a>';
 $string['void'] = 'Void';
 $string['voidyes'] = 'Transaction will be cancelled. Are you sure?';
 $string['welcometocoursesemail'] = 'Dear student,