The gateway class for PayPal payment gateway.
More...
The gateway class for PayPal payment gateway.
- 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() [1/2]
Configuration form for the gateway instance.
Use $form->get_mform() to access the MoodleQuickForm instance
- Parameters
-
◆ add_configuration_to_gateway_form() [2/2]
Configuration form for the gateway instance.
Use $form->get_mform() to access the MoodleQuickForm instance
- Parameters
-
◆ get_supported_currencies()
static paygw_paypal\gateway::get_supported_currencies |
( |
| ) |
|
|
static |
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 from core_payment\gateway.
◆ validate_gateway_form() [1/2]
Validates the gateway configuration form.
Needs to be overridden to make sure the incomplete configuration can not be enabled.
- Parameters
-
◆ validate_gateway_form() [2/2]
Validates the gateway configuration form.
- Parameters
-
The documentation for this class was generated from the following file:
- payment/gateway/paypal/classes/gateway.php