Base class for payment gateways.
More...
Base class for payment gateways.
- Copyright
- 2019 Shamim Rezaie shami.nosp@m.m@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_configuration_to_gateway_form()
Configuration form for the gateway instance.
Use $form->get_mform() to access the MoodleQuickForm instance
- Parameters
-
◆ get_supported_currencies()
static core_payment\gateway::get_supported_currencies |
( |
| ) |
|
|
staticabstract |
Returns the list of currencies that the payment gateway supports.
- Return values
-
string[] | An array of the currency codes in the three-character ISO-4217 format |
Reimplemented in paygw_paypal\gateway.
◆ validate_gateway_form()
Validates the gateway configuration form.
Needs to be overridden to make sure the incomplete configuration can not be enabled.
- Parameters
-
The documentation for this class was generated from the following file:
- payment/classes/gateway.php