Commit Graph

26 Commits

Author SHA1 Message Date
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