Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
enrol_paypal\util Class Reference

PayPal enrolment plugin utility class. More...

Static Public Member Functions

static get_exception_handler ()
 Silent exception handler. More...
 
static message_paypal_error_to_admin ($subject, $data)
 Alerts site admin of potential problems. More...
 

Detailed Description

PayPal enrolment plugin utility class.

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

Member Function Documentation

◆ get_exception_handler()

static enrol_paypal\util::get_exception_handler ( )
static

Silent exception handler.

Return values
callableexception handler

◆ message_paypal_error_to_admin()

static enrol_paypal\util::message_paypal_error_to_admin (   $subject,
  $data 
)
static

Alerts site admin of potential problems.

Parameters
string$subjectemail subject
stdClass$dataPayPal IPN data

The documentation for this class was generated from the following file: