Commit graph

917 commits

Author SHA1 Message Date
ethem
769b3187c2 x_auth_code is required for capture only transactions!
NOTE: Capture only transactions have not implemented yet!
2006-07-20 14:48:03 +00:00
martinlanghoff
63aea8815d enrol API: Updated documentation 2006-07-17 06:02:10 +00:00
danstowell
12a2567375 Small fix, and a bit more output, for IMS enroller 2006-07-11 14:09:26 +00:00
ethem
411df816d6 - authorize_expired function added to lessen the code.
- All functions in authorize plugin are named with authorize_ prefix.

Merged from 16stable.
2006-07-10 10:17:23 +00:00
ethem
f9bfa458a2 Some outputting debugging info for cron. Merged from 16stable. 2006-07-06 13:41:55 +00:00
danstowell
6d19caab41 Change to make LDAP enroller simply ignore accounts with blank idnumber - see moodle.org discussion with Inaki 2006-07-06 13:13:42 +00:00
ethem
1c23b14db3 - Daily cron seperated from main cron for performance.
- Performance for welcome message sending to students. Order by student. This sends only one message for each students.

Merged from MOODLE_16_STABLE.
2006-07-06 12:01:24 +00:00
skodak
7eb60c262a Bug #5995 - poor English in expiry notice; merged from MOODLE_16_STABLE 2006-07-03 07:21:20 +00:00
ethem
11fffc6059 Merged from MOODLE_16_STABLE. 2006-06-29 19:07:28 +00:00
ethem
b1c87d90dc $teacher is used in manual form. No need global. merged from 16stable. 2006-06-29 15:03:54 +00:00
ethem
665d43006a get_student_courses and get_teacher_courses functions added for future reference.
Cron description added. Merged from 16stable.
2006-06-29 12:44:01 +00:00
ethem
8389613abb Don't show choose method string if course cost is 0. Merged from 16stable. 2006-06-29 11:27:32 +00:00
ethem
c1f6386c47 Interactive plugins (authorize and paypal ) must use 'manual'.
Some patches must be applied to lib/db.
http://moodle.org/bugs/bug.php?op=show&bugid=5941
Look: version.patch, lib_db.patch

Eloy, your question about enrol fields for interactive plugins were solved.
Now, we sure we never use authorize and paypal field for backup and restore.
Because manual is active and cannot be disabled when restoring.
Bug #5358 - Add support for enrol systems in backup/restore
http://moodle.org/bugs/bug.php?op=show&bugid=5358&pos=0

Merged from 16 stable.
2006-06-29 10:38:34 +00:00
ethem
c1a2545882 Bug #5941 - Myriad of problems with Paypal enrollmemts, au_enrol.patch
Merged from 16 stable.
2006-06-29 09:49:36 +00:00
skodak
e87fe61524 Bug #5941 - Myriad of problems with Paypal enrollmemts, part 2 - Login as guest not shown to guests and there is login link instead of paypal button for guests; merged from MOODLE_16_STABLE 2006-06-28 15:26:31 +00:00
skodak
44adc9032b Bug #5941 - Myriad of problems with Paypal enrollmemts, part 1; merged from MOODLE_16_STABLE 2006-06-28 12:45:28 +00:00
ethem
bd4669d344 Very small change. A little performance for cron if admin enabled sending email for pending orders expiring.
1- If dailysettlement is 00:05 and cron executes at this time, nothing will occur. If it is executes at 00:10 it works. I think "<" works faster then "<=" :))
2- Don't compare course->ids by authorize->courseid, because courses are grouped by courseid. We sure each line is unique.
3- Only get pendingorderexpiring strings for sending email if course teachers exist.

Merged from 16stable.
2006-06-20 17:22:00 +00:00
ethem
2bc509a3c1 $a->course: course information added. Merged from stable. 2006-06-15 14:23:04 +00:00
ethem
e3df6104f4 pendingordersemailteacher string added
merged from stable
2006-06-15 13:37:25 +00:00
ethem
b9e829691e When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts.
Merged from 16 stable.
2006-06-15 12:55:39 +00:00
ethem
b282e815d5 Order by order count. Courses that have many orders are emailed first. Merged from 16_stable. 2006-06-15 08:06:52 +00:00
ethem
a0333291ba Email subject for pending orders expiring.
Merged from stable.
2006-06-14 16:26:01 +00:00
ethem
71e27db713 If admin set up 'Teachers can manage the payments of the course' and enabled 'Manual-Capture', course teachers are notified about pending orders expiring. Merged from MOODLE_16_STABLE. 2006-06-14 11:53:50 +00:00
ethem
c9ad76139d Link to Payment Management page. Merged from 16stable. 2006-06-13 18:31:09 +00:00
ethem
f404747bf1 Link to help file 'Order Review'. Merged from 16stable. 2006-06-13 18:04:25 +00:00
ethem
f00a651c61 Predict the time of settlement at first time. Probably, admin user set up own country timezone and we can use this time as settlement time.
Merged from 16stable.
2006-06-13 16:05:15 +00:00
ethem
e758a8f627 Capture_Only transaction added.
Capture_Only transactions are used when you already have an authorization from a bank.
To use this type of transaction, you will need an authorization code from the card-issuer (usually a 5 or 6 digit number).
For example, if you called Visa directly and obtained an authorization over the phone,
you would need to submit a Capture_Only transaction to start the funds transfer process.
You can manually submit a Capture_Only transaction from your Virtual Terminal by selecting Capture Only,
or from a website or billing application by including the following variables with your transaction request:

 x_Type (Capture_Only)
 x_Auth_Code (the 5 or 6 digit code provided by the card-issuer)
2006-06-13 07:58:04 +00:00
ethem
ecf2f1ac3d Sending email for pending orders expiring string (adminemailexpired) seperated.
Settings moved to adminemailexpsetting.
Merged from stable.
2006-06-09 11:25:57 +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
aed6497003 Some config sections 'Order Review' moved to
an_teachermanagepay -> Site-Wide Settings
an_emailexpired: -> Email-Sending Settings
an_cutoff: -> Authorize.net Settings

merged from 16stable.
2006-06-09 10:30:01 +00:00
ethem
a17f20183e Unnecesary strings removed. Merged from MOODLE_16_MERGED 2006-06-07 18:47:09 +00:00
danstowell
67e3f5b540 Fix to ensure default auth method is copied to new user records 2006-06-07 10:44:12 +00:00
ethem
9a4502dd1d Some cron performance. Run clean-ups and send email daily on settlement date.
an_nextmail config deleted, instead of old config new an_dailysettlement inserted into config_plugins table.
Merged from MOODLE_16_STABLE.
2006-06-05 13:12:28 +00:00
ethem
8da4b779e4 Documentation for status codes and actions. Merged from MOODLE_16_STABLE 2006-06-01 16:08:00 +00:00
ethem
d65af16ffd Just some tidy-ups. Merged from MOODLE_16_STABLE 2006-06-01 08:51:20 +00:00
ethem
e302f054b3 Just some tidy-ups. Merged from MOODLE_16_STABLE 2006-06-01 07:47:22 +00:00
ethem
8761b0bc4f If config wwwroot starts with 'https', ignore config loginhttps value.
Dependency: Bug #5647; Merged from MOODLE_16_STABLE.
2006-05-30 08:32:43 +00:00
vyshane
941308d370 Fix for undefined property notice when cron.php is run. 2006-05-24 03:07:37 +00:00
ethem
4087e6830e Eloy will plan support for enrol systems in backup/restore.
He has a lot of work to do, so this file temporary removed.
After implementation in /backup/restorelib&backuplib.php library, this file can be used again.
But now, this file is not necessary.

Discussion about support for enrol systems in backup/restore is here:

http://moodle.org/bugs/bug.php?op=show&bugid=5358
2006-05-19 12:35:49 +00:00
ethem
5bf94809f0 Removed </td>. Help button appears on top :)) 2006-05-18 10:02:22 +00:00
ethem
527d142c43 I have just found a cute function called print_checkbox. :) 2006-05-18 07:55:12 +00:00
ethem
6b4f18622d Put back tjhunt's changes. Invalid merge. Tabs aren't more important than indexes. 2006-05-18 07:13:43 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
ethem
ddd74daef6 action.php renamed to authorizenetlib.php
Merged from MOODLE_16_STABLE.
2006-05-17 08:18:51 +00:00
martinlanghoff
d7d37bcb60 moodle16cleanup: enrol/authorize not null set which is similar to mysql
and that was upgraded on postgres7.php
2006-05-17 06:35:35 +00:00
ethem
f9ff6fbd77 confirm_sesskey() implementation for capture,delete,refund and void. I hope it works. :) 2006-05-16 15:34:24 +00:00
ethem
98f6b1eb54 Allow showing error message when insert_record fails.
merged from 16_stable.
2006-05-16 15:02:52 +00:00
ethem
e81e5c1604 Fix: Redirect to order details page 10 seconds later, not home page. Merged from MOODLE_16_STABLE. 2006-05-13 16:18:38 +00:00
ethem
6e6c37e2be Language direction is important. Changed as: <b>AVS Result:</b> $a
merged from 16_stable.
2006-05-13 08:53:34 +00:00
ethem
f6a7a35cc9 More readable coding. Now, I understand everything. :)
Merged from MOODLE_16_STABLE.
2006-05-13 08:33:55 +00:00