Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
$plugin component = 'paygw_paypal'
 
$plugin version = 2024042200
 

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