Table of Contents
Properties
-
$request
: mixed
Methods
-
__construct()
: mixed
-
add_change_payment_method_query()
: mixed|string
-
add_setup_intent_params()
: array<string|int, mixed>
-
is_link_active()
: mixed
-
is_subscription_mode()
: bool|mixed
-
maybe_create_setup_intent()
: mixed
-
print_script_variables()
: mixed
-
process_change_payment_method_redirect()
: void
-
update_payment_intent_args()
: void
-
update_setup_intent_params()
: mixed
-
account_requires_mandate()
: mixed
-
add_params_to_intent()
: array<string|int, mixed>
-
get_recurring_cart_total()
: mixed
-
initialize()
: mixed
$request
private
mixed
$request
__construct()
public
__construct(FrontendRequests $request) : mixed
Parameters
-
$request
: FrontendRequests
-
add_change_payment_method_query()
public
add_change_payment_method_query(mixed $url, WC_Payment_Gateway_Stripe $gateway, mixed $page) : mixed|string
Parameters
-
$url
: mixed
-
-
$gateway
: WC_Payment_Gateway_Stripe
-
-
$page
: mixed
-
Return values
mixed|string
add_setup_intent_params()
public
add_setup_intent_params(array<string|int, mixed> $args, WC_Payment_Gateway_Stripe $payment_method) : array<string|int, mixed>
Parameters
-
$args
: array<string|int, mixed>
-
-
$payment_method
: WC_Payment_Gateway_Stripe
-
Return values
array<string|int, mixed>
is_link_active()
public
is_link_active(mixed $bool) : mixed
Parameters
-
$bool
: mixed
-
is_subscription_mode()
public
is_subscription_mode(mixed $bool, RequestContext $context) : bool|mixed
Parameters
-
$bool
: mixed
-
-
$context
: RequestContext
-
-
since
-
3.3.60
maybe_create_setup_intent()
public
maybe_create_setup_intent(mixed $bool, RequestContext $context) : mixed
Parameters
-
$bool
: mixed
-
-
$context
: RequestContext
-
print_script_variables()
public
print_script_variables() : mixed
process_change_payment_method_redirect()
public
process_change_payment_method_redirect(array<string|int, mixed> $result, WC_Payment_Gateway_Stripe $gateway, SetupIntent $setup_intent) : void
Parameters
-
$result
: array<string|int, mixed>
-
-
$gateway
: WC_Payment_Gateway_Stripe
-
-
$setup_intent
: SetupIntent
-
update_payment_intent_args()
public
update_payment_intent_args(array<string|int, mixed> $args, WC_Order $order) : void
Parameters
-
$args
: array<string|int, mixed>
-
-
$order
: WC_Order
-
update_setup_intent_params()
public
update_setup_intent_params(mixed $args, mixed $order) : mixed
Parameters
-
$args
: mixed
-
-
$order
: mixed
-
account_requires_mandate()
private
account_requires_mandate() : mixed
add_params_to_intent()
private
add_params_to_intent(array<string|int, mixed> $args, WC_Order $order[, string $type = 'payment_intent' ]) : array<string|int, mixed>
Parameters
-
$args
: array<string|int, mixed>
-
-
$order
: WC_Order
-
-
$type
: string
= 'payment_intent'
-
Return values
array<string|int, mixed>
get_recurring_cart_total()
private
get_recurring_cart_total() : mixed
initialize()
private
initialize() : mixed