Commit graph

892 commits

Author SHA1 Message Date
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
ethem
8f152c586d Deleting test transactions are not good. They may be in proggress. Let's update WHERE transid<>'0'.
Merged from MOODLE_16_STABLE.
2006-05-13 06:02:06 +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
3335e3f881 Fix: Delete test transactions before update status as AN_STATUS_AUTHCAPTURE.
Merged from MOODLE_16_STABLE.
2006-05-12 18:36:30 +00:00
ethem
4a1e506a35 Admin can setup which credit card types will be accepted.
Merged from MOODLE_16_STABLE.
2006-05-05 18:16:45 +00:00
ethem
5f7a36628f Create transid indexes for backup & restore speed. 2006-05-04 09:42:35 +00:00
ethem
669c58e1a5 First authorize restore library for version 1.7 2006-05-04 07:58:20 +00:00
ethem
a7c3596182 First authorize backup library for version 1.7 2006-05-03 17:09:52 +00:00
ethem
df4ba5a1b9 1 - adminhelpcapture & adminhelpreview strings removed from enrol_authorize.php
2 - captureday.html & review.html files added to help/enrol/authorize
2006-05-02 07:13:15 +00:00
ethem
0168503ab2 Direct access to this script is forbidden. 2006-04-28 07:20:25 +00:00
ethem
ee80cc094c lib.php : restore & backup functions removed. 2006-04-27 15:48:55 +00:00
ethem
53bf37b4f6 Backup library. 2006-04-27 13:41:53 +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
a37c274b90 Use global parameters in authorize_print_orders(): $courseid & $userid 2006-04-26 17:29:52 +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
e66012b563 Penny made it this way on purpose, apparently, to make it work properly on Postgresql, so it reverted. 2006-04-26 15:23:01 +00:00
ethem
f506249f70 Merged from MOODLE_15_STABLE. First time install detection. 2006-04-26 12:38:09 +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
db70762f01 $CFG removed 2006-04-24 16:31:02 +00:00
ethem
023c3f0ee2 Some indexes were added in 15_STABLE. So, don't show an error message again if indexes are already exist. 2006-04-23 10:15:01 +00:00
moodler
6c3d3b0a97 DOn't show some notces on new install 2006-04-23 04:45:20 +00:00
mjollnir_
ee234b5cac Putting back in the fix for authorize enrol plugin not originally having correct pg version number and table sync with mysql tables and version number 2006-04-18 02:50:46 +00:00