53 Commits

Author SHA1 Message Date
Aaron Barnes
0609036239 enrol/authorize: MDL-22777 upgrade enrol/authorize plugin to new enrol_plugin base class
Patch by Eugene Venter
2010-08-19 02:42:33 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
ethem evlice
64d187aa12 Fixed 2.0 bugs 2010-01-28 14:05:28 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
samhemelryk
8e7328a292 enrol MDL-19795 Added set_url calls, and fixed misc minor errors 2009-10-15 03:17:57 +00:00
ethem
b6398eb44b MDL-14129 Fix dongsheng's fixes and make dongsheng happy :) 2008-06-20 10:48:29 +00:00
ethem
9b256d1b2c /// 2008-06-11 18:34:20 +00:00
skodak
d907d51a55 MDL-15099 towards enrol dml conversion 2008-06-05 14:06:39 +00:00
dongsheng
6a933f1308 "MDL-14129, fix print_error" 2008-05-14 05:56:10 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
ethem
65f0a8f697 Accesbility Improvements. Strings added: orderdetails, cclastfour, isbusinesschecking, shopper 2008-02-11 10:44:09 +00:00
ethem
36814b9910 Accesbility Improvements: -New search option, cc last four; -Paging options 2008-02-11 10:05:06 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
ethem
b29c7bb2ba Get course before require_login(); Merged from 17stable. 2006-11-12 13:26:14 +00:00
ethem
3baecd1d7e Get payment managers at COURSE level. Merged from 17stable. 2006-11-03 12:09:00 +00:00
ethem
2c46669ba1 New string: All Pending Orders 2006-10-30 11:16:09 +00:00
ethem
9c746ce766 + New consts for authorize_action() function:
* AN_RETURNZERO: No connection was made on authorize.net.
  * AN_APPROVED: The transaction was accepted.
  * AN_DECLINED: The transaction was declined.
  * AN_REVIEW: The transaction was held for review.

+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()

merged from 17stable.
2006-10-16 09:39:08 +00:00
ethem
f0f8e34c5d isguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTEM, SITEID), $USER->id, false) 2006-09-22 15:31:04 +00:00
ethem
16dbf42695 Changed deprecated enrol_student() function to enrol_into_course(). 2006-09-22 12:18:58 +00:00
ethem
0fbf82ea78 Tidy up 2006-09-15 12:35:08 +00:00
ethem
0c76d7e375 New string: paymentmethod 2006-09-01 16:43:52 +00:00
ethem
6b1d27020d Ported AUTHORIZE_ECHECK changes into HEAD. (cvs update -j HEAD -j AUTHORIZE_ECHECK)
* New Feature (Authorize.net eCheck)

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.


== TO DO ==

- Generate Echeck forms.
- Show users a echeck option if admin enabled echeck method.
- Allow admins/teachers to enrol a student using echeck method (FIX: role consept)

==========
2006-08-30 10:29:10 +00:00
ethem
49c22bc46b Display capture/void/delete instead of 'Yes'; Merged from 16stable. 2006-08-18 14:54:08 +00:00
ethem
673d602458 Show 'name on card' string instead of moodle.php's user string. Merged from MOODLE_16_STABLE. 2006-06-09 11:00:18 +00:00
ethem
a17f20183e Unnecesary strings removed. Merged from MOODLE_16_MERGED 2006-06-07 18:47:09 +00:00
ethem
17dd669149 Fix: Don't show newly created orders prior to 2 minutes.
They may be still in proggress and these aren't test transacions(transid=0).
We check timecreated field to prevent this.
MERGED FROM MOODLE_16_STABLE.
2006-05-12 19:56:02 +00:00
ethem
e13958e08b Don't use $courseid in require_login(). User may want to see old orders. Course enrolment is not required. 2006-04-26 17:39:13 +00:00
ethem
71f7797f28 Don't duplicate header. 2006-04-26 17:16:34 +00:00
moodler
0b0ac96794 Just some tidy-ups 2006-04-26 16:03:16 +00:00
ethem
7dcf558cde Locallib.php can be only used by index.php. 2006-04-24 17:15:13 +00:00
ethem
cb845f37ae Put back. String 'returns'&'noreturns' are used only in one order. Not general. 2006-04-24 17:03:42 +00:00
ethem
db763a8a91 String 'returns'&'noreturns' added to authorize strings array. (get string fast) 2006-04-24 16:54:59 +00:00
ethem
efd0eb0d29 String 'all' added to strings array. 2006-04-24 16:46:39 +00:00
ethem
4d3b0ddc0a lib.php renamed to locallib.php 2006-04-12 09:13:20 +00:00
ethem
9b47e0018e Make function names as library name. 2006-04-11 12:37:41 +00:00
ethem
d414c46183 Some descriptions was added 2006-03-27 08:49:43 +00:00
ethem
c7dac7f5a9 index.php & lib.php
Payment management functions moved to lib.php
2006-03-27 08:31:16 +00:00
ethem
6972506e99 Tabs are out 2006-03-27 07:53:27 +00:00
ethem
ef62312dbe You can't do this action: $a->action 2006-03-13 18:26:55 +00:00
ethem
843d9bdc42 Now, teachers can manage the payments in their courses if admin set up this. 2006-03-13 16:47:44 +00:00
ethem
3a36b0b6f3 Users can view their orders... 2006-03-13 11:15:09 +00:00
ethem
235a90f9b6 Course filter is added to payment management page.
Show the enrolment method of course is 'authorize.
2006-03-10 20:05:24 +00:00
ethem
181c06ea6b Show only one message for actions (Capture/Void/Credit) in test mode. 2006-01-31 16:41:46 +00:00
ethem
b1fa2cf269 Card Validation and Postal Code field validation fix. (is_int & is_numeric) 2006-01-27 09:16:01 +00:00
ethem
752d465f4d Manage orders with status filter. All/Authorized/Captured/Refunded/Cancelled/Expired. 2006-01-20 16:04:52 +00:00
ethem
c1a91db06e AVS and Reason messages. 2006-01-19 14:57:23 +00:00
ethem
66ba9796d4 Moving some constants to const.php. 2006-01-06 12:14:17 +00:00
ethem
ea370453c2 Expire transaction after 30 days. 2006-01-03 11:21:18 +00:00
ethem
241fbcf510 Config an_review_day renamed to an_capture_day.
Inform admin will be expired transactions 2 days ago.
Help for an_review and an_capture_day to admins.
2006-01-03 10:23:28 +00:00