AbstractGateway extends WC_Payment_Gateway
in package
uses FeaturesTrait

AbstractYes

Table of Contents

Properties

$client  : StripeClient
$payment_controller  : WC_Stripe_Payment_Intent
$assets  : AssetsApi
$payment_method_id  : string
$payment_method_type  : mixed

Methods

__construct()  : mixed
get_add_payment_method_script_handles()  : mixed
get_cart_script_handles()  : array<string|int, mixed>
get_checkout_script_handles()  : array<string|int, mixed>
get_express_checkout_script_handles()  : array<string|int, mixed>
get_minicart_script_handles()  : array<string|int, mixed>
get_new_payment_method_option_html()  : mixed
get_payment_method_data()  : array<string|int, mixed>
get_payment_method_type()  : string
Returns the payment method type for the payment method.
get_product_script_handles()  : array<string|int, mixed>
get_saved_payment_method_option_html()  : string
get_tokens()  : mixed
init_supports()  : mixed
initialize()  : mixed
is_cart_section_enabled()  : mixed
is_express_checkout_enabled()  : mixed
is_minicart_section_enabled()  : mixed
is_product_section_enabled()  : bool
process_zero_total_order()  : array<string|int, mixed>
saved_payment_methods()  : mixed
set_payment_method_id()  : void
should_use_saved_payment_method()  : bool
Returns true if the customer is using a saved payment method in the request.

Properties

Methods

process_zero_total_order()

public process_zero_total_order(WC_Order $order) : array<string|int, mixed>
Parameters
$order : WC_Order
Return values
array<string|int, mixed>

should_use_saved_payment_method()

Returns true if the customer is using a saved payment method in the request.

public should_use_saved_payment_method() : bool
Return values
bool

        
On this page

Search results