Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
paygw_paypal

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 = 2023100400
 
$plugin component = 'paygw_paypal'
 
$plugin version = 2023100900
 

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