Open Monograph Press
3.3.0
|
Additional Inherited Members | |
![]() | |
$pluginCategory | |
$pluginPath | |
$request | |
![]() | |
_registerTemplateResource ($inCore=false) | |
Paypal payment plugin class.
Definition at line 19 of file PaypalPaymentPlugin.inc.php.
PaypalPaymentPlugin::addSettings | ( | $hookName, | |
$form | |||
) |
Add settings to the payments form
$hookName | string |
$form | FormComponent |
Definition at line 60 of file PaypalPaymentPlugin.inc.php.
References PKPApplication\get(), and Plugin\getSetting().
PaypalPaymentPlugin::getDescription | ( | ) |
Reimplemented from Plugin.
Definition at line 38 of file PaypalPaymentPlugin.inc.php.
PaypalPaymentPlugin::getDisplayName | ( | ) |
Reimplemented from Plugin.
Definition at line 31 of file PaypalPaymentPlugin.inc.php.
PaypalPaymentPlugin::getInstallEmailTemplatesFile | ( | ) |
Reimplemented from Plugin.
Definition at line 188 of file PaypalPaymentPlugin.inc.php.
References Plugin\getPluginPath().
PaypalPaymentPlugin::getName | ( | ) |
Reimplemented from LazyLoadPlugin.
Definition at line 24 of file PaypalPaymentPlugin.inc.php.
Referenced by handle().
PaypalPaymentPlugin::getPaymentForm | ( | $context, | |
$queuedPayment | |||
) |
Get the payment form for this plugin.
$context | Context |
$queuedPayment | QueuedPayment |
Reimplemented from PaymethodPlugin.
Definition at line 130 of file PaypalPaymentPlugin.inc.php.
PaypalPaymentPlugin::getTemplatePath | ( | $inCore = false | ) |
Return the canonical template path of this plug-in
$inCore | Return the core template path if true. |
Reimplemented from Plugin.
Definition at line 195 of file PaypalPaymentPlugin.inc.php.
PaypalPaymentPlugin::handle | ( | $args, | |
$request | |||
) |
Handle a handshake with the PayPal service
Definition at line 147 of file PaypalPaymentPlugin.inc.php.
References Plugin\$request, DAORegistry\getDAO(), PKPTemplateManager\getManager(), getName(), Application\getPaymentManager(), and Plugin\getSetting().
PaypalPaymentPlugin::isConfigured | ( | $context | ) |
Check whether this plugin is fully configured and ready for use.
$context | Context |
Reimplemented from PaymethodPlugin.
Definition at line 138 of file PaypalPaymentPlugin.inc.php.
References Plugin\getSetting().
PaypalPaymentPlugin::register | ( | $category, | |
$path, | |||
$mainContextId = null |
|||
) |
Load and initialize the plug-in and register plugin hooks.
For backwards compatibility this method will be called whenever the plug-in's category is being loaded. If, however, registerOn() returns an array then this method will only be called when the plug-in is enabled and an entry in the result set of registerOn() matches the current request operation. An empty array matches all request operations.
$category | String Name of category plugin was registered to |
$path | String The path the plugin was found in |
$mainContextId | integer To identify if the plugin is enabled we need a context. This context is usually taken from the request but sometimes there is no context in the request (e.g. when executing CLI commands). Then the main context can be given as an explicit ID. |
Reimplemented from LazyLoadPlugin.
Definition at line 45 of file PaypalPaymentPlugin.inc.php.
References Plugin\addLocaleData(), and HookRegistry\register().
PaypalPaymentPlugin::saveSettings | ( | $params, | |
$slimRequest, | |||
$request | |||
) |
Save settings for this payment method
$params | array Params that have already been |
$slimRequest | Request Slim request object |
$request | Request |
Reimplemented from PaymethodPlugin.
Definition at line 105 of file PaypalPaymentPlugin.inc.php.
References Plugin\$request, and Plugin\updateSetting().