PaymentGatewaysController
in package

Table of Contents

Properties

$check_payment_availability  : mixed
$context_handler  : mixed
$registry  : mixed

Methods

__construct()  : mixed
add_cart_data()  : array<string|int, mixed>
Decorate the array of cart data with available payment methods. This method adds each registered payment method integration along with whether it's available.
add_payment_gateway_data()  : mixed
enqueue_minicart_scripts()  : mixed
enqueue_scripts()  : mixed
filter_available_payment_gateways()  : array<string|int, WC_Payment_Gateway>
get_payment_gateway_classes()  : mixed
initialize()  : mixed
process_payment_gateway_options()  : void
register_payment_gateways()  : void
set_check_payment_availability()  : mixed
add_woocommerce_payment_gateway()  : mixed

Properties

Methods

add_cart_data()

Decorate the array of cart data with available payment methods. This method adds each registered payment method integration along with whether it's available.

public add_cart_data(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

filter_available_payment_gateways()

public filter_available_payment_gateways(array<string|int, WC_Payment_Gateway$gateways) : array<string|int, WC_Payment_Gateway>
Parameters
$gateways : array<string|int, WC_Payment_Gateway>
Return values
array<string|int, WC_Payment_Gateway>

$gateways


        
On this page

Search results