165 Commits

Author SHA1 Message Date
ethem
d5e50c25d5 help with $a 2006-03-09 11:35:54 +00:00
martinlanghoff
46a811142e [multienrol]Don't die if there's an empty directory in enrol and better strings for admin ui
The admin UI still needs a bit of wordsmithing to make it easy to understand what the model we have is.
2006-03-09 05:06:18 +00:00
martinlanghoff
c6a40e74b9 [multienrol]enrol/authorize: Back put last commit - "manual" is the right name 2006-03-09 05:03:41 +00:00
martinlanghoff
7ce85a1969 [multienrol]enrol/authorize: fix references to 'internal' method 2006-03-09 04:26:37 +00:00
martinlanghoff
a60952d73d [multienrol] 2006-03-09 04:22:03 +00:00
martinlanghoff
aa190ccd1e [multienrol]Merged Ethem Evlice's changes to authorize.net
Minimal changes -- with this, the tip of MOODLE_16_MULTIENROL is fully merged.
2006-03-09 04:14:12 +00:00
martinlanghoff
a51e2a7f3b [multienrol]Renamed "internal" enrolment plugin to "manual" 2006-03-09 03:19:10 +00:00
martinlanghoff
74da3c2c89 [multienrol]Improved get_student/teacher_courses() functions to cache enrolment type that saves lots of recursive database query 2006-03-09 03:15:42 +00:00
martinlanghoff
1919f9926e [multienrol]Replaced configuration variable override with class property 2006-03-09 03:15:01 +00:00
martinlanghoff
f5befec4e8 [multienrol]Fixed some wired characters caused by my editor 2006-03-09 02:56:44 +00:00
martinlanghoff
f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00
ethem
46bbbb4c85 DB new upgrade system. 2006-02-15 10:15:27 +00:00
gustav_delius
f0295d5aba Remove empty line, see bug 4747 2006-02-12 23:30:37 +00:00
ethem
9a5a7c3814 Function: getsettletime minute fix. 2006-02-10 12:41:56 +00:00
ethem
33bbb39b4f Show warning message if cron doesn't work. Review order depends on cron & an_capture_day. 2006-02-01 13:30:45 +00:00
ethem
7fec4cb2f9 Rename an_cutoff_hour and an_cutoff_min to an_cutoff. 2006-02-01 13:03:13 +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
00a354a2da Which form is submitted? Internal or authorize?
This eliminates undefined form->property notices when user submitted internal form.
2006-01-27 14:16:41 +00:00
ethem
d90534da0d Move $this->validate_enrol_form() to check_entry(). 2006-01-27 13:44:11 +00:00
ethem
c5c56ae00d Move card validation to validate_enrol_form function. 2006-01-27 13:34:42 +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
martinlanghoff
5f8ca5dfb6 enrol/db: Better warning when the user record is missing. 2006-01-16 03:12:55 +00:00
martinlanghoff
6ee745f7ec enrol/database: Fix for stupid SQL escaping error. 2006-01-16 03:12:10 +00:00
martinlanghoff
2642328505 enrol/database -- course autocreation now follows new configuration variables 2006-01-16 03:11:46 +00:00
martinlanghoff
32d9287f89 enrol/database -- added options to control course autocreation 2006-01-16 03:10:39 +00:00
martinlanghoff
e1c1a4a88f enrol/database - added some headers to the config page 2006-01-16 03:09:32 +00:00
martinlanghoff
491651f448 enrol/database - now with added sync and course autocreation
Added an external script to invoke automatic enrol-unenrol. It also
will autocreate courses based on a template.
2006-01-16 03:08:50 +00:00
martinlanghoff
92ab8e50d4 enrol/database tidyup: cleanup mysql hack if connect errors out 2006-01-16 03:04:31 +00:00
martinlanghoff
3e353d3622 enrol/database tidyup: wrap one line 2006-01-16 03:03:59 +00:00
martinlanghoff
388cbbfb8e enrol/database: split out db connection/disconnection to separate methods
Split them out in preparation for a sync method -- encapsulates the
nasty MySQL hack.
2006-01-16 03:03:21 +00:00
toyomoyo
f9952852b1 adding more xmls 2006-01-16 01:56:21 +00:00
ethem
66ba9796d4 Moving some constants to const.php. 2006-01-06 12:14:17 +00:00
ethem
a1c967cc73 Address Verification System (AVS). 2006-01-05 16:28:34 +00:00
ethem
4bfda899b6 Address Verification System (AVS). 2006-01-05 14:30:49 +00:00
ethem
e74d4dc1b4 Send warning email to admins X days ago
how many status of 'authorized/pending capture' transaction is there,
 before transactions have expired.
2006-01-04 18:16:39 +00:00
ethem
8a92768d71 Sql fix. 2006-01-04 08:25:16 +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
ethem
6aa31974bd Inform students in cron function. 2006-01-02 09:45:07 +00:00
ethem
4014910e29 enrol_authorize_refunds must be updated, not enrol_authorize. 2006-01-02 09:34:10 +00:00
ethem
dfb9c29043 Settlement date. 2006-01-02 09:30:35 +00:00
ethem
9e1c2ba45c No need anymore some database fields. 2005-12-28 16:53:23 +00:00
ethem
62d98252ac New authorize.net module is more powerful. :)
- Review order:

   Review order before processing the credit card.

- Auto-Capture:
   If auto-capture enabled the credit card will be captured
   after an_review_day later, then student will be enrolled
   to course, otherwise it will be expired or
   admin must accept/deny payment.

   NOTE: Set-up Transaction Cut-Off Time correctly.
         When the last transaction is picked up for settlement?

- Payment Management:

   Accept/Deny/Refund payments: cvs:/moodle/enrol/authorize/index.php

- TO DO: Batch upload: It will sync authorize.net and moodle from csv file.
2005-12-26 19:21:37 +00:00
ethem
095affdedc AN_STATUS_EXPIRE fix. 2005-12-22 19:15:34 +00:00
ethem
378082c25f them fix. :) 2005-12-22 16:32:12 +00:00
ethem
0ccf08fe1d Settlement date. 2005-12-22 15:24:05 +00:00
ethem
1eabaf73fa & fix. 2005-12-16 08:13:10 +00:00
ethem
1f71e2b91d More description, more documentation. 2005-12-14 15:47:37 +00:00