stripe_wc()
Returns the global instance of the WC_Stripe_Manager. This function replaces the wc_stripe function as of version 3.2.8
stripe_wc() : WC_Stripe_Manager
Returns the global instance of the WC_Stripe_Manager. This function replaces the wc_stripe function as of version 3.2.8
stripe_wc() : WC_Stripe_Manager
wc_stripe_get_template(string $template_name[, array<string|int, mixed> $args = array() ]) : mixed
Wrapper for wc_get_template_html that returns Stripe specififc templates in an html string.
wc_stripe_get_template_html(string $template_name[, array<string|int, mixed> $args = array() ]) : string
Return true if WCS is active.
wcs_stripe_active() : bool
wc_stripe_token_field(WC_Payment_Gateway_Stripe $gateway) : mixed
wc_stripe_payment_intent_field(WC_Payment_Gateway_Stripe $gateway) : mixed
wc_stripe_hidden_field(string $id[, string $class = '' ][, string $value = '' ]) : mixed
Return the mode for the plugin.
wc_stripe_mode() : string
wc_stripe_test_mode() : mixed
Return the secret key for the provided mode.
wc_stripe_get_secret_key([string $mode = '' ]) : mixed
If no mode given, the key for the active mode is returned.
Return the publishable key for the provided mode.
wc_stripe_get_publishable_key([string $mode = '' ]) : mixed
If no mode given, the key for the active mode is returned.
Return the merchant's Stripe account.
wc_stripe_get_account_id() : string
Return the stripe customer ID
wc_stripe_get_customer_id([int $user_id = '' ][, string $mode = '' ]) : mixed
wc_stripe_save_customer(string $customer_id, int $user_id[, string $mode = '' ]) : mixed
wc_stripe_delete_customer(int $user_id[, string $mode = '' ][, bool $global = false ]) : mixed
wc_stripe_woocommerce_payment_token_deleted(int $token_id, WC_Payment_Token $token) : mixed
Log the provided message in the WC logs directory.
wc_stripe_log(int $level, string $message) : mixed
wc_stripe_log_error(string $message) : mixed
wc_stripe_log_info(string $message) : mixed
Return the mode that the order was created in.
wc_stripe_order_mode(WC_Order|int $order) : mixed
Values can be live or test
wc_stripe_payment_gateways(array<string|int, mixed> $gateways) : mixed