Commit Graph

41 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Petr Skoda c859433c3d MDL-32735 add missing message provider info for unmaintained enrol_authorize 2012-05-06 12:10:47 +02:00
Andrew Davis 1218879656 MDL-31429 enrol: added db/messages.php for enrolment plugins and added some smarts to messaging so it won't display message settings for disabled enrolment plugins 2012-04-20 11:48:46 +07:00
Petr Skoda 9dbf768ede MDL-30007 standardise enrol plugins version info 2011-11-29 21:09:42 +01:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Aaron Barnes 0609036239 enrol/authorize: MDL-22777 upgrade enrol/authorize plugin to new enrol_plugin base class
Patch by Eugene Venter
2010-08-19 02:42:33 +00:00
Petr Skoda 4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
stronk7 e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
ethem f5eb7e2fbc Authorize.net Trans IDs are changing in October-Will it break moodle? YES
http://moodle.org/mod/forum/discuss.php?d=106626
2008-09-26 23:42:53 +00:00
skodak f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
ethem 59bb411a3f This plugin requires Moodle version 2007101507. moodlelib::is_enabled_enrol() 2008-02-25 09:34:18 +00:00
ethem e08dc18dbe *** empty log message *** 2008-02-05 17:05:29 +00:00
skodak f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
skodak efe12f6c22 MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes 2007-03-05 11:27:01 +00:00
ethem 0ba9f5d68a + More more more security.
* Don't show login name, password and transaction key at the configuration page.
* RC4Encrypt these fields and move to the config_plugins table from the config table.
* Config page is fully https.
2006-11-29 11:05:56 +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 63693fd835 I found a new function: user_has_role_assignment(). Merged from MOODLE_17_STABLE. 2006-10-26 14:44:53 +00:00
ethem 9c746ce766 + New consts for authorize_action() function:
* AN_RETURNZERO: No connection was made on authorize.net.
  * AN_APPROVED: The transaction was accepted.
  * AN_DECLINED: The transaction was declined.
  * AN_REVIEW: The transaction was held for review.

+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()

merged from 17stable.
2006-10-16 09:39:08 +00:00
ethem 9c59948e63 * enrol_into_course() doesn't send welcome message unless $course->welcomemessage is set.
This is actually good thing, because we can send our welcome message.

* enrol_into_course() added in Moodle(2006091700), so authorize plugin requires this version.
2006-10-03 18:00:48 +00:00
ethem 79c63c4415 + New ENUM field: paymentmethod(cc,echeck);
Store in database and when calling authorize_action() pass this method. Hence, removed $method=AN_METHOD_CC from this function.
    If a refund will be do, unset($order->paymentmethod); Because this field comes when joining(enrol_authorize)

+ AN_METHOD_CC and AN_METHOD_ECHECK is now lower case, because these fields are stored in database as enum.
  Eloy's response:
   They are lowercase because we decided to use lowercase identifiers everywhere and enum contents are,
   from a DB perspective, identifiers.

  Ok, NP. :)) set_config('an_acceptmethods', strtolower($CFG->an_acceptmethods)); solves this.
2006-08-31 18:24:37 +00:00
ethem 6b1d27020d Ported AUTHORIZE_ECHECK changes into HEAD. (cvs update -j HEAD -j AUTHORIZE_ECHECK)
* New Feature (Authorize.net eCheck)

Authorize.Net provides an exclusive, fully integrated electronic check payment method, eCheck.Net.
Using eCheck.Net, merchants can accept and process payments from consumer and corporate bank accounts
directly from their Web site or through the Authorize.Net Virtual Terminal. By accepting electronic checks,
you expand the payment options available to new and existing customers, enhancing customer loyalty and
potentially increasing sales.

+ Lower Fees - Lower rates than credit cards or PayPal.
+ More Efficient - eCheck.Net does everything online, eliminating the cost and inconvenience of manually
  processing paper checks and waiting for checks in the mail.
+ Fully Integrated Solution - No third-party integration required implementing eCheck.Net is easy
  for merchants already using the Authorize.Net Payment Gateway.
+ Integrated Reporting - Provides a combined view of all eCheck.Net and credit card payment transactions.
  Reconcile payment and billing activity using online reports and statements.
+ Ship Product Sooner - Improved up-front transaction validation that returns the status of transactions faster.
+ Security - Authorize.Net uses the latest 128-bit Secure Socket Layer (SSL) technology for
  secure Internet Protocol (IP) transactions.


== TO DO ==

- Generate Echeck forms.
- Show users a echeck option if admin enabled echeck method.
- Allow admins/teachers to enrol a student using echeck method (FIX: role consept)

==========
2006-08-30 10:29:10 +00:00
ethem 839958faf6 * $CFG->teachermanagepayments will have to go since we are moving away from the rigid hardcoded teacher role concept.
* If a teacher has_capability('enrol/authorize:managepayments'), send email about pending orders expiring.

* All isteacher converted to has_capability.
2006-08-14 15:06:11 +00:00
ethem 79469c6600 Roles support added: enrol/authorize:managepayments 2006-08-14 13:29:24 +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 5f7a36628f Create transid indexes for backup & restore speed. 2006-05-04 09:42:35 +00:00
gustav_delius ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +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 7fec4cb2f9 Rename an_cutoff_hour and an_cutoff_min to an_cutoff. 2006-02-01 13:03:13 +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 9e1c2ba45c No need anymore some database fields. 2005-12-28 16:53:23 +00:00
ethem 0ccf08fe1d Settlement date. 2005-12-22 15:24:05 +00:00
ethem d6ed7dae6a CREDIT & VOID implementation.
TO DO:
- admin.php for course payment management.
- Transaction cut-off time
2005-12-12 17:32:00 +00:00
ethem ce32fe3aa7 x_invoice_num implementation... 2005-11-21 14:09:52 +00:00
ethem c0733012cf PostgreSQL support for enrol::authorize. 2005-08-02 07:45:45 +00:00
ethem 3b405a5f3d authorize module requires get_list_of_currencies() function in moodlelib.
This function added in version 2005072200.
2005-07-25 13:17:25 +00:00
ethem 60ede40d86 Added some indexes for speed. 2005-07-16 11:37:39 +00:00
ethem 10da752643 International payment. All currencies are added... 2005-07-14 16:17:28 +00:00
moodler 93885e8120 First version of Authorize.net plugin, written by webmaster@tuzluk.com,
based on Paypal module.

I've not tested it myself yet, just renamed it and cleaned up some
obvious HTML code etc
2005-05-09 18:27:39 +00:00