Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Files | Namespaces | Classes | Functions | Variables
paygw_paypal

Files

file  gateway.php
 Contains class for PayPal payment gateway.
 
file  get_config_for_js.php
 This class contains a list of webservice functions related to the PayPal payment gateway.
 
file  install.php
 paygw_paypal installer script.
 
file  provider.php
 Privacy Subsystem implementation for paygw_paypal.
 
file  services.php
 External functions and service definitions for the PayPal payment gateway plugin.
 
file  settings.php
 Settings for the PayPal payment gateway.
 
file  transaction_complete.php
 This class contains a list of webservice functions related to the PayPal payment gateway.
 
file  upgrade.php
 Upgrade script for paygw_paypal.
 
file  version.php
 Version information.
 

Namespaces

namespace  paygw_paypal
  
 
namespace  paygw_paypal\external
  
 
namespace  paygw_paypal\privacy
  
 

Classes

class  paygw_paypal\external\get_config_for_js
 
class  paygw_paypal\external\transaction_complete
 
class  paygw_paypal\gateway
 The gateway class for PayPal payment gateway. More...
 
class  paygw_paypal\privacy\provider
 Privacy Subsystem implementation for paygw_paypal. More...
 

Functions

 xmldb_paygw_paypal_install ()
 
 xmldb_paygw_paypal_upgrade (int $oldversion)
 Upgrade the plugin.
 

Variables

 $functions
 
 $plugin = 2022111800
 
$plugin component = 'paygw_paypal'
 
$plugin version = 2022112800
 

Detailed Description

Function Documentation

◆ xmldb_paygw_paypal_upgrade()

xmldb_paygw_paypal_upgrade ( int  $oldversion)

Upgrade the plugin.

Parameters
int$oldversionthe version we are upgrading from
Return values
boolalways true

Variable Documentation

◆ $functions

$functions
Initial value:
= [
'paygw_paypal_get_config_for_js' => [
'classname' => 'paygw_paypal\external\get_config_for_js',
'classpath' => '',
'description' => 'Returns the configuration settings to be used in js',
'type' => 'read',
'ajax' => true,
],
'paygw_paypal_create_transaction_complete' => [
'classname' => 'paygw_paypal\external\transaction_complete',
'classpath' => '',
'description' => 'Takes care of what needs to be done when a PayPal transaction comes back as complete.',
'type' => 'write',
'ajax' => true,
'loginrequired' => false,
],
]