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
martinlanghoff d7d37bcb60 moodle16cleanup: enrol/authorize not null set which is similar to mysql
and that was upgraded on postgres7.php
2006-05-17 06:35:35 +00:00
ethem 5f7a36628f Create transid indexes for backup & restore speed. 2006-05-04 09:42:35 +00:00
ethem 46bbbb4c85 DB new upgrade system. 2006-02-15 10:15:27 +00:00
ethem e2946fc1bb "," & " " fix 2005-08-02 08:23:52 +00:00
ethem c0733012cf PostgreSQL support for enrol::authorize. 2005-08-02 07:45:45 +00:00