Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
paygw_paypal

Topics

 privacy
 
 

Namespaces

namespace  paygw_paypal
 Contains class for PayPal payment gateway.
 
namespace  paygw_paypal\external
  
 

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...
 

Functions

 xmldb_paygw_paypal_install ()
 paygw_paypal installer script.
 
 xmldb_paygw_paypal_upgrade (int $oldversion)
 Upgrade the plugin.
 

Variables

 $functions
 
 $plugin = 2023100400
 
$plugin component = 'paygw_paypal'
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ xmldb_paygw_paypal_install()

xmldb_paygw_paypal_install ( )

paygw_paypal installer script.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

◆ 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,
],
]