mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00

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.
6 lines
83 B
PHP
Executable file
6 lines
83 B
PHP
Executable file
<?php // $Id$
|
|
|
|
$plugin->version = 2006083100;
|
|
$plugin->requires = 2005072200;
|
|
|
|
?>
|