PaymentGatewayRegistry extends BaseRegistry
in package

Payment Gateway Registry

Manages registration and retrieval of payment gateways.

Tags
since
4.0.0

Table of Contents

Properties

$container  : mixed
$registry  : mixed
$registry_id  : mixed

Methods

__construct()  : mixed
get()  : mixed
get_active_integrations()  : mixed
get_add_payment_method_script_handles()  : array<string|int, mixed>
Get script dependencies for add payment method page.
get_bnpl_payment_gateways()  : array<string|int, AbstractGateway>
get_cart_payment_gateways()  : array<string|int, mixed>
Get payment gateways available on the cart page.
get_cart_script_handles()  : array<string|int, mixed>
Get script dependencies for cart page.
get_checkout_payment_gateways()  : array<string|int, mixed>
Get payment gateways available on the checkout page.
get_checkout_script_handles()  : array<string|int, mixed>
Get script dependencies for checkout page.
get_express_checkout_script_handles()  : array<string|int, mixed>
Get script dependencies for express checkout.
get_express_payment_gateways()  : array<string|int, mixed>
Get express checkout payment gateways (Link, Apple Pay, Google Pay).
get_minicart_payment_gateways()  : array<string|int, mixed>
Get payment gateways available in the mini cart.
get_minicart_script_handles()  : array<string|int, mixed>
Get script dependencies for mini cart.
get_product_payment_gateways()  : array<string|int, mixed>
Get payment gateways available on the product page.
get_product_script_handles()  : array<string|int, mixed>
Get script dependencies for product page.
get_registered_integrations()  : mixed
get_shop_script_handles()  : mixed
initialize()  : mixed
is_empty()  : bool
is_initialized()  : bool
register()  : mixed

Properties

Methods

get_add_payment_method_script_handles()

Get script dependencies for add payment method page.

public get_add_payment_method_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.

get_cart_payment_gateways()

Get payment gateways available on the cart page.

public get_cart_payment_gateways() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_cart_script_handles()

Get script dependencies for cart page.

public get_cart_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.

get_checkout_payment_gateways()

Get payment gateways available on the checkout page.

public get_checkout_payment_gateways() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_checkout_script_handles()

Get script dependencies for checkout page.

public get_checkout_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.

get_express_checkout_script_handles()

Get script dependencies for express checkout.

public get_express_checkout_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.

get_express_payment_gateways()

Get express checkout payment gateways (Link, Apple Pay, Google Pay).

public get_express_payment_gateways() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_minicart_payment_gateways()

Get payment gateways available in the mini cart.

public get_minicart_payment_gateways() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_minicart_script_handles()

Get script dependencies for mini cart.

public get_minicart_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.

get_product_payment_gateways()

Get payment gateways available on the product page.

public get_product_payment_gateways() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_product_script_handles()

Get script dependencies for product page.

public get_product_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of script handles.


        
On this page

Search results