417 Commits

Author SHA1 Message Date
ethem
49c81fe0fd We are expecting multiple records, but in debug mode, it gives this error:
Error: Turn off debugging to hide this error.

SELECT id FROM enrol_authorize WHERE userid = '3' AND courseid = '2' AND status=0(with limits 0, 100)

Very strange error in get_record_sql !
2006-11-23 16:22:39 +00:00
ethem
c33e8ec8f7 Daily echeck order notification 2006-11-20 14:48:16 +00:00
ethem
dd5f22e2be Help file: Uploading Authorize.net CSV file; Merged from MOODLE_17_STABLE. 2006-11-20 13:52:27 +00:00
ethem
b9ce223956 Merged from MOODLE_17_STABLE. 2006-11-20 11:19:39 +00:00
ethem
78ceee0741 It is time to refund for echeck (business checking). 2006-11-20 10:01:44 +00:00
ethem
be09f12192 It is time to refund for echeck (business checking). 2006-11-20 09:49:26 +00:00
ethem
98349513b2 Business checkings can be refunded only for echeck method. Not saving nor checking. Merged from 17stable. 2006-11-20 08:11:21 +00:00
ethem
df90fb983d Bumped version and new rename field upgrading for HEAD. 2006-11-17 17:54:17 +00:00
ethem
4902ed7c2f Changed db column(cclastfour) as refundinfo.
Because this field will be used to refund both cc and echeck.
Business checkings can be refunded, too; so mark as 1 this field for business checkings.
That is; refundinfo: is last four digit for credit cards, business checking for echecks.

Merged from MOODLE_17_STABLE.
2006-11-17 16:06:46 +00:00
ethem
dfe254ceab Moved ABA validator and CC validator functions to enrol_form.php 2006-11-17 13:01:04 +00:00
ethem
8dfaffacfb Some cleanup: Removed enrolment_plugin_authorize->authorizeerror; because, new forms lib handles all errors. 2006-11-17 08:49:08 +00:00
ethem
4df4b15524 Business checks can be refunded. Point a flag for it. The cclastfour field will be renamed to refundinfo later. Merged from 17stable. 2006-11-17 08:21:11 +00:00
ethem
1bdf6d2677 <DIV>...</DIV> if other method available. 2006-11-16 16:18:20 +00:00
ethem
4e15f4b9df FIX: MDL-7561
Allow to be chosen the other payment method  if avaiable.
Now, new quick enrol form is ready for usage :)
2006-11-16 14:44:44 +00:00
ethem
3c167c58c1 Show correct string;
Credit card method: Name on card
ECheck: Account owner
2006-11-16 12:38:39 +00:00
ethem
3c07bc5a32 Stop responding on error. 2006-11-16 12:23:40 +00:00
ethem
f5fbea120f Fixed: MDL-7561
New forms api
2006-11-15 20:44:49 +00:00
ethem
19384dfb70 MDL-6937
MDL-7561
MDL-7562

Need to be used new forms api.

Please see also:

* enrol.php: check_entry(), config_form(), process_config()
* localfuncs.php: validate_cc_form(), validate_echeck_form()
2006-11-15 07:39:04 +00:00
skodak
470accb7af use timeupdated field in paypal table MDL-7555 2006-11-14 21:29:57 +00:00
skodak
919da6579c MDL-7536 add proper slashing to data from paypal callback 2006-11-14 21:12:17 +00:00
skodak
934bdbee95 MDL-7535 PayPal communication now fully utf-8 compatible, users must check/fix encoding setting in their PayPal account - see linked docs from PayPal enrolment config page 2006-11-14 20:52:15 +00:00
skodak
547e5e7ab0 whitespace fix in PayPal plugin 2006-11-14 09:32:11 +00:00
skodak
5599d142f6 MDL-7838 Fixed wrong Paypal spelling, should be PayPal
MDL-7539 PayPal pay button XHTML compliance
MDL-3137 PayPal acceptace logo displayed on enrollment page
2006-11-14 09:26:22 +00:00
skodak
4849431074 add hooks to paypal plugin to allow testing on www.sandbox.paypal.com MDL-7528 2006-11-14 08:53:39 +00:00
stronk7
db15d4375e Fetchmode needs to be explicity set to ASSOC. Plus 1 missing library
added. MDL-7443

Merged from MOODLE_17_STABLE
2006-11-13 22:49:30 +00:00
skodak
8f425a8f72 MDL-7389 paypal plugin reports error when student correctly enrolled; merged from MOODLE_17_STABLE 2006-11-13 22:26:11 +00:00
ethem
cac9c967df Merged from 17stable. 2006-11-13 08:43:16 +00:00
ethem
eb108480aa New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments') 2006-11-13 07:36:58 +00:00
ethem
b29c7bb2ba Get course before require_login(); Merged from 17stable. 2006-11-12 13:26:14 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
ethem
8174990c49 Show site name at top when selecting courses. 2006-11-03 12:36:52 +00:00
ethem
3baecd1d7e Get payment managers at COURSE level. Merged from 17stable. 2006-11-03 12:09:00 +00:00
ethem
726bf1ead2 get_teacher() to get_users_by_capability(). 2006-11-03 11:20:13 +00:00
ethem
e40106c7db Fix for enrolurl(admin/users.php). Merged from 17stable. 2006-11-02 13:34:52 +00:00
ethem
af3e0ed2ea Make authorize.net config page secure.
See: http://moodle.org/mod/forum/discuss.php?d=56728
2006-11-01 12:36:19 +00:00
ethem
7bb8485d6e Show notice at bottom. 2006-10-31 19:24:10 +00:00
ethem
325d15409b If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.
Some users may not wish to use their credit cards on the internet directly for security reasons.
   In this case, you need to obtain an authorization code from user's bank.
   Initially, ask for credit card information from the customer
   like bank name, name on card, card number, expiry date and card validation code
   by means of phone, face-to-face or a billing application.
   Then, call the customer services of user's bank giving this information and demand an authorization code.
   Finally, after obtaining it, login as user to get the user enrolled.
   Alternatively, you can give it to the user saying enrol using this code.
2006-10-30 13:07:20 +00:00
ethem
c9befcd1be If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.
Some users may not wish to use their credit cards on the internet directly for security reasons.
   In this case, you need to obtain an authorization code from user's bank.
   Initially, ask for credit card information from the customer
   like bank name, name on card, card number, expiry date and card validation code
   by means of phone, face-to-face or a billing application.
   Then, call the customer services of user's bank giving this information and demand an authorization code.
   Finally, after obtaining it, login as user to get the user enrolled.
   Alternatively, you can give it to the user saying enrol using this code.
2006-10-30 12:53:15 +00:00
ethem
2c46669ba1 New string: All Pending Orders 2006-10-30 11:16:09 +00:00
ethem
2760b4f4cc Show a link for echeck payments if an user has_capability('enrol/authorize:uploadcsv'). 2006-10-30 10:12:20 +00:00
ethem
bf228101fd Get only courses made transactions. This lessens the course list; Merged from 17stable. 2006-10-30 08:33:00 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
19606d8bd5 New upgrade.php file added for this module. MDL-7214 2006-10-26 17:02:31 +00:00
ethem
63693fd835 I found a new function: user_has_role_assignment(). Merged from MOODLE_17_STABLE. 2006-10-26 14:44:53 +00:00
ethem
009a965863 get_courses() is only getting visible courses. This is a problem when an user wants to view old payments. 2006-10-26 08:41:02 +00:00
stronk7
422770d8cb Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
$limitnum parameters in all the get_recordXXX() functions. MDL-7167

Merged from MOODLE_17_STABLE
2006-10-23 23:00:18 +00:00
moodler
2f1a42481d This new function called load_all_capabilities() should be used whenever
you want to completely reload the capabilities for the current user.

Basically it will deal nicely with the default site-wide permissions
depending on the current user.

More background in the comments on MDL-6963

Merged from stable
2006-10-23 15:17:31 +00:00
moodler
b1f318a67f Merged guest key enrolment fix from stable MDL-6881 2006-10-23 06:38:15 +00:00
moodler
bd4128e91f Merged enrolment-related fixes from stable 2006-10-20 17:53:50 +00:00