From: ethem Date: Mon, 20 Nov 2006 13:52:27 +0000 (+0000) Subject: Help file: Uploading Authorize.net CSV file; Merged from MOODLE_17_STABLE. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dd5f22e2beb02f93ab39811f0e8d03669d80e5a2;p=moodle.git Help file: Uploading Authorize.net CSV file; Merged from MOODLE_17_STABLE. --- diff --git a/enrol/authorize/uploadcsv.php b/enrol/authorize/uploadcsv.php index 55858b5c48..5ec81f24b3 100644 --- a/enrol/authorize/uploadcsv.php +++ b/enrol/authorize/uploadcsv.php @@ -123,7 +123,7 @@ function authorize_process_csv($filename) continue; } - if (!empty($reftransid) && $transstatus == 'Settled Successfully' && $transtype == 'Credit') { + if (!empty($reftransid) && is_numeric($reftransid) && 'Settled Successfully' == $transstatus && 'Credit' == $transtype) { if ($order = get_record('enrol_authorize', 'transid', $reftransid)) { if (AN_METHOD_ECHECK == $order->paymentmethod) { $refund = get_record('enrol_authorize_refunds', 'transid', $transid); diff --git a/lang/en_utf8/help/enrol/authorize/uploadcsv.html b/lang/en_utf8/help/enrol/authorize/uploadcsv.html new file mode 100644 index 0000000000..df37b750fc --- /dev/null +++ b/lang/en_utf8/help/enrol/authorize/uploadcsv.html @@ -0,0 +1,24 @@ +

Uploading Authorize.net CSV file

+

+ This action must be performed if you have enabled eCheck (ACH) transactions. +

+

+

    +
  1. Login to your authorize.net account.
  2. +
  3. Run a REPORT or SEARCH transactions.
  4. +
  5. Select the date range if you search transactions.
  6. +
  7. A button called 'Download to File' appears.
  8. +
  9. After clicked the button, tick 'Include Column Headings' and select file type to be downloaded: + 'Expanded Fields/Comma Separated' or 'Expanded Fields with CAVV Response/Comma Separated'.
  10. +
  11. For more information click the help link on the page seen.
  12. +
  13. Click Submit button.
  14. +
  15. Once the file has been created, a pop up window will appear prompting you + to select the location where the file should be saved.
  16. +
  17. Please leave this window open until the pop up window prompting for your file location appears. + You may minimize this window by clicking the _ in the upper right hand corner to continue working. + Closing this window by clicking the X will cancel this action and your file will not be downloaded.
  18. +
  19. Once your file has been downloaded and saved to your local machine, + click the X in the upper right hand corner of this window to Close.
  20. +
  21. Finally, upload this CSV file to Moodle to enrol the users making payment by echeck. +
+