27 Commits

Author SHA1 Message Date
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
ethem
4014910e29 enrol_authorize_refunds must be updated, not enrol_authorize. 2006-01-02 09:34:10 +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