MySLP_Payments
in package
Class MySLP_Payments
Table of Contents
Properties
- $processor : MySLP_Payment_Processor
- $settings_page_slug : string
- $using_stripe : bool
Methods
- __construct() : mixed
- MySLP_Payments constructor.
- add_myslp_payments_menu() : void
- Add the MySLP Payments menu entry.
- load_processor() : MySLP_Payment_Processor
- Load the payment processor modules based on the general_default_processor setting.
- payment_settings() : void
- Render the page for the payment menu.
- send_meta() : mixed
- Send back some metadata to the REST API.
Properties
$processor
public
MySLP_Payment_Processor
$processor
$settings_page_slug
public
string
$settings_page_slug
= 'payment_settings'
$using_stripe
public
bool
$using_stripe
= \true
Methods
__construct()
MySLP_Payments constructor.
public
__construct() : mixed
add_myslp_payments_menu()
Add the MySLP Payments menu entry.
public
add_myslp_payments_menu() : void
Tags
load_processor()
Load the payment processor modules based on the general_default_processor setting.
public
load_processor([string|null $processor = null ]) : MySLP_Payment_Processor
Parameters
- $processor : string|null = null
Return values
MySLP_Payment_Processorpayment_settings()
Render the page for the payment menu.
public
payment_settings() : void
send_meta()
Send back some metadata to the REST API.
public
send_meta() : mixed