Paypal_Legacy implements Service, Registerable
Integrates with Paypal Express Plugin
Tags
Interfaces, Classes and Traits
- Service
- Marker interface to denote a service.
- Registerable
- An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
Table of Contents
- $settings : mixed
- $theme : mixed
- __construct() : mixed
- Constructor
- enqueue_paypal() : void
- Enqueues paypal scripts on every page for use by Fast Cart
- 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
$theme
private
mixed
$theme
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —enqueue_paypal()
Enqueues paypal scripts on every page for use by Fast Cart
public
enqueue_paypal() : void
Tags
Return values
void —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