Table of Contents
Properties
-
$account_settings
: WC_Stripe_Account_Settings
-
$card_settings
: mixed
-
$supported_countries
: mixed
-
$supported_payment_methods
: mixed
Methods
-
__construct()
: mixed
-
add_confirmation_args()
: array<string|int, mixed>
-
add_setup_intent_params()
: mixed
-
add_setup_intent_params_v2()
: mixed
-
can_process_link_payment()
: bool|mixed
-
get_instance()
: mixed
-
get_supported_countries()
: mixed
-
initialize()
: mixed
-
instance()
: mixed
-
is_active()
: mixed
-
add_mandate_data()
: mixed
-
is_valid_account_country()
: mixed
$account_settings
private
WC_Stripe_Account_Settings
$account_settings
$card_settings
private
mixed
$card_settings
= []
$supported_countries
private
mixed
$supported_countries
= 'AE, AT, AU, BE, BG, CA, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB,
GI, GR, HK, HR, HU, IE, IT, JP, LI, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PL, PT, RO, SE, SG, SI, SK, US'
$supported_payment_methods
private
mixed
$supported_payment_methods
= ['stripe_cc', 'stripe_link_checkout']
__construct()
public
__construct(WC_Stripe_Account_Settings $account_settings) : mixed
Parameters
-
$account_settings
: WC_Stripe_Account_Settings
-
add_confirmation_args()
public
add_confirmation_args(array<string|int, mixed> $args, PaymentIntent $intent, WC_Order $order) : array<string|int, mixed>
Parameters
-
$args
: array<string|int, mixed>
-
-
$intent
: PaymentIntent
-
-
$order
: WC_Order
-
Return values
array<string|int, mixed>
add_setup_intent_params()
public
add_setup_intent_params(mixed $args, mixed $payment_method) : mixed
Parameters
-
$args
: mixed
-
-
$payment_method
: mixed
-
add_setup_intent_params_v2()
public
add_setup_intent_params_v2(mixed $args, mixed $order, mixed $payment_method) : mixed
Parameters
-
$args
: mixed
-
-
$order
: mixed
-
-
$payment_method
: mixed
-
can_process_link_payment()
public
can_process_link_payment([null|WC_Order $order = null ]) : bool|mixed
Parameters
-
$order
: null|WC_Order
= null
-
get_instance()
public
static get_instance() : mixed
get_supported_countries()
public
get_supported_countries() : mixed
initialize()
public
initialize() : mixed
instance()
public
static instance() : mixed
is_active()
public
is_active() : mixed
add_mandate_data()
private
add_mandate_data(mixed &$args, mixed $order) : mixed
Parameters
-
$args
: mixed
-
-
$order
: mixed
-
is_valid_account_country()
private
is_valid_account_country() : mixed