Paypal_Legacy implements Premium_Service, Conditional, Registerable
Integrates with Paypal Express Plugin
Tags
Interfaces, Classes and Traits
- Premium_Service
- Conditional
- Registerable
Table of Contents
- $settings : mixed
- $theme : mixed
- __construct() : mixed
- Constructor
- enqueue_paypal() : void
- Enqueues paypal scripts on every page for use by Fast Cart
- is_required() : mixed
- Checks if this integration is required
- localize_paypal() : array<string|int, mixed>
- Disabled some paypal functions that are incompatible outside of the checkout page hooks into `woocommerce_paypal_express_checkout_payment_button_data`
- register() : void
- Register action and filter for PayPal integration.
Properties
$settings
private
mixed
$settings
Tags
$theme
private
mixed
$theme
Tags
Methods
__construct()
Constructor
public
__construct() : mixed
Tags
Return values
mixed —enqueue_paypal()
Enqueues paypal scripts on every page for use by Fast Cart
public
enqueue_paypal() : void
Tags
Return values
void —is_required()
Checks if this integration is required
public
is_required() : mixed
Tags
Return values
mixed —localize_paypal()
Disabled some paypal functions that are incompatible outside of the checkout page hooks into `woocommerce_paypal_express_checkout_payment_button_data`
public
localize_paypal(array<string|int, mixed> $data, string $page) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
-
paypal settings provided by ppec plugin
- $page : string
-
context
Tags
Return values
array<string|int, mixed> —register()
Register action and filter for PayPal integration.
public
register() : void