Commit Graph

6 Commits

Author SHA1 Message Date
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 5f7a36628f Create transid indexes for backup & restore speed. 2006-05-04 09:42:35 +00:00
ethem 2eaa289883 Table type fix. ENGINE changed to TYPE. Old mysql version issue. 2006-03-23 14:26:18 +00:00
ethem 46bbbb4c85 DB new upgrade system. 2006-02-15 10:15:27 +00:00
ethem 60ede40d86 Added some indexes for speed. 2005-07-16 11:37:39 +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