Skip to content

Action and Filter Hooks

Thu Phan edited this page Jun 9, 2026 · 5 revisions

WooCommerce Stripe Gateway Hooks

This page documents the actions and filters available in the WooCommerce Stripe Gateway plugin as of version 10.8.0, released on 2026-06-09.

Hooks are listed alphabetically within each section. Each entry links to a GitHub code search showing where the hook fires. Parameter types are shown where the plugin itself documents them in code or where the type is unambiguous.

Note

We are unable to provide support for custom code under our Support Policy. If you need assistance with custom code, we highly recommend Codeable or a Certified WooExpert.

Supported Actions

wc_gateway_stripe_process_payment_authentication_required

  • Parameters: $order (WC_Order), $response (optional)
  • Description: Fired when a payment requires SCA / 3D Secure authentication. $response is the Stripe response object and is omitted at some callsites.
  • See in code

wc_gateway_stripe_process_payment_charge

  • Parameters: $response (object), $order (WC_Order)
  • Description: Fired after a charge is processed during a payment. Replacement for the deprecated wc_gateway_stripe_process_payment, wc_gateway_stripe_process_redirect_payment, and wc_gateway_stripe_process_webhook_payment actions.
  • See in code

wc_gateway_stripe_process_payment_error

  • Parameters: $error, $order (WC_Order)
  • Description: Fired when an exception is caught during any payment-processing flow (legacy gateway, UPE, subscriptions, vouchers, redirect handling).
  • See in code

wc_gateway_stripe_process_payment_intent_incomplete

  • Parameters: $order (WC_Order)
  • Description: Fired from the webhook handler when a PaymentIntent is in an incomplete state.
  • See in code

wc_gateway_stripe_process_payment_intent_requires_action

  • Parameters: $order (WC_Order), $payment_intent_object
  • Description: Fired from the webhook handler when a PaymentIntent requires customer action.
  • See in code

wc_gateway_stripe_process_payment_subscription_charge_attempt_delayed

  • Parameters: $response, $renewal_order (WC_Order)
  • Description: Fired when a subscription renewal charge attempt is delayed (for example, when it requires asynchronous processing).
  • See in code

wc_gateway_stripe_process_redirect_payment_error

  • Parameters: $error, $order (WC_Order)
  • Description: Fired when the legacy redirect payment handler catches an exception while processing the redirect response.
  • See in code

wc_gateway_stripe_process_response

  • Parameters: $stripe_response, $order (WC_Order)
  • Description: The response we get back after calling a charge request to Stripe.
  • See in code

wc_gateway_stripe_process_webhook_payment_error

  • Parameters: $order (WC_Order), $notification, $error (optional)
  • Description: Fired when an exception is caught while processing a payment-related webhook event. The exception argument is passed by some callsites and omitted by others.
  • See in code

wc_stripe_add_payment_method_{$payment_method_name}_success (dynamic)

  • Parameters: $source_id (string), $source_object
  • Description: Dynamic action fired after a payment method is successfully added through the legacy add-payment-method flow. {$payment_method_name} is the source type, e.g. card.
  • See in code

wc_stripe_agentic_commerce_initialized

  • Parameters: $integration (WC_Stripe_Agentic_Commerce_Integration)
  • Description: Fired after the Agentic Commerce integration is initialized.
  • See in code

wc_stripe_agentic_order_created

  • Parameters: $order (WC_Order), $session (WC_Stripe_Agentic_Checkout_Session)
  • Description: Fired after an order is created from an Agentic Commerce checkout session.
  • See in code

wc_stripe_agentic_order_creation_failed

  • Parameters: $exception (Throwable), $session (WC_Stripe_Agentic_Checkout_Session)
  • Description: Fired when order creation from an Agentic Commerce checkout session fails.
  • See in code

wc_stripe_change_subs_payment_method_success

  • Parameters: $source_or_payment_method_id, $prepared_source_or_payment_information_object
  • Description: Fired after a subscription's payment method is successfully changed.
  • See in code

wc_stripe_delete_source

  • Parameters: $stripe_customer_id (string), $response
  • Description: Fired after a source is deleted from a customer.
  • See in code

wc_stripe_detach_payment_method

  • Parameters: $stripe_customer_id (string), $stripe_response
  • Description: Fired after a payment method is detached from a customer.
  • See in code

wc_stripe_express_checkout_after_checkout_validation

  • Parameters: $custom_checkout_data (array), $errors (WP_Error)
  • Description: Fired after express checkout custom-field validation runs.
  • See in code

wc_stripe_express_checkout_update_order_meta

  • Parameters: $order_id (int), $custom_checkout_data (array)
  • Description: Fired after order meta is written from an express checkout's custom fields.
  • See in code

wc_stripe_gateway_admin_options_wrapper

  • Parameters: $gateway (WC_Stripe_UPE_Payment_Gateway)
  • Description: Fired when rendering the gateway settings screen wrapper.
  • See in code

wc_stripe_paid_order_cancellation_prevented

  • Parameters: $order (WC_Order)
  • Description: Fired when an already-paid Stripe order stuck at the "Pending payment" status is prevented from being auto-cancelled by WooCommerce's unpaid-order cleanup.
  • See in code

wc_stripe_payment_fields_{$payment_method_id} (dynamic)

  • Parameters: $payment_method_id (string)
  • Description: Dynamic action fired at the bottom of each UPE payment method's checkout form. {$payment_method_id} is the gateway/method id, e.g. stripe_klarna.
  • See in code

wc_stripe_set_default_payment_method

  • Parameters: $stripe_customer_id (string), $response
  • Description: Fired after a default PaymentMethod is set on a customer (UPE successor to wc_stripe_set_default_source).
  • See in code

wc_stripe_set_default_source

  • Parameters: $stripe_customer_id (string), $response
  • Description: Fired after a default source is set on a customer.
  • See in code

wc_stripe_webhook_received

  • Parameters: $webhook_type (string), $notification (object), $resolved_order (WC_Order|null)
  • Description: Fired for every Stripe webhook event after it has been parsed and the related order (if any) has been resolved.
  • See in code

woocommerce_stripe_add_customer

  • Parameters: $args (array), $response
  • Description: Fired after a Stripe customer is created.
  • See in code

woocommerce_stripe_add_payment_method

  • Parameters: $user_id (int), $payment_method_object
  • Description: Fired after a PaymentMethod is added/saved to a customer (UPE).
  • See in code

woocommerce_stripe_add_source

  • Parameters: $stripe_customer_id (string), $wc_token, $response, $source_id (string)
  • Description: Fired after a source is created and attached to a customer.
  • See in code

woocommerce_stripe_process_manual_cancel

  • Parameters: $order (WC_Order)
  • Description: Fired after a manual cancellation of an order that was authorized and not yet captured.
  • See in code

woocommerce_stripe_process_manual_capture

  • Parameters: $order (WC_Order), $result
  • Description: Fired after a manual capture of a charge from the admin order screen.
  • See in code

woocommerce_stripe_update_customer

  • Parameters: $args (array), $response
  • Description: Fired after an existing Stripe customer is updated.
  • See in code

woocommerce_stripe_updated

  • Parameters: (none)
  • Description: Fired after the plugin runs a version upgrade routine.
  • See in code

Supported Filters

wc_stripe_add_payment_method_on_error_rate_limit_delay

  • Parameters: $delay_seconds (int), $exception (WC_Stripe_Exception)
  • Description: Delay applied when rate-limiting add_payment_method retries after an error.
  • See in code

wc_stripe_adaptive_pricing_email_notice_styles

  • Parameters: $styles_array (array), $order (WC_Abstract_Order), $sent_to_admin (bool)
  • Description: CSS styles applied to the adaptive pricing email notice.
  • See in code

wc_stripe_agentic_approve_order

  • Parameters: $decline (array|null), $event (WC_Stripe_Agentic_Customize_Checkout_Event), $invalid_line_item (WC_Stripe_Agentic_Customize_Checkout_Line_Item|null)
  • Description: Whether to decline an agentic order.
  • See in code

wc_stripe_agentic_commerce_feed_sync_interval

  • Parameters: $interval (int)
  • Description: Sync interval (in seconds) for the agentic commerce feed.
  • See in code

wc_stripe_agentic_commerce_files_api_pre_request

  • Parameters: $pre (array|null), $file_path (string)
  • Description: Short-circuit the Files API request when a non-null value is returned.
  • See in code

wc_stripe_agentic_commerce_import_set_pre_request

  • Parameters: $pre (array|null), $file_id (string), $standard_data_format (string)
  • Description: Short-circuit the import-set request when a non-null value is returned.
  • See in code

wc_stripe_agentic_commerce_map_product

  • Parameters: $row (array), $product (WC_Product), $parent_product (WC_Product|null)
  • Description: Row data mapped from a WooCommerce product into the agentic feed.
  • See in code

wc_stripe_agentic_commerce_product_query_args

  • Parameters: $args (array)
  • Description: Product query args used to build the agentic feed.
  • See in code

wc_stripe_agentic_commerce_sync_history_limit

  • Parameters: $limit (int)
  • Description: Number of sync history entries retained.
  • See in code

wc_stripe_agentic_commerce_tax_code

  • Parameters: $tax_code_or_null (string|null), $tax_class (string), $product (WC_Product)
  • Description: Tax code applied to an agentic feed row.
  • See in code

wc_stripe_agentic_commerce_validation_errors

  • Parameters: $errors (array), $row (array), $product (WC_Product)
  • Description: Validation errors for an agentic feed row.
  • See in code

wc_stripe_allow_prepaid_card

  • Parameters: $bool (bool)
  • Description: Whether to allow prepaid credit cards to be used.
  • See in code

wc_stripe_allowed_payment_processing_statuses

  • Parameters: $order_statuses (array), $order (WC_Order)
  • Description: The order statuses that will allow a payment to be processed. Defaults to pending and failed, but some payment methods add on-hold.
  • See in code

wc_stripe_calculated_total

  • Parameters: $calculated_total (float), $order_total (float), $cart (WC_Cart)
  • Description: Express-checkout calculated cart total. Replacement for the deprecated woocommerce_stripe_calculated_total.
  • See in code

wc_stripe_connection_refresh_interval

  • Parameters: $interval_seconds (int)
  • Description: Interval (in seconds) before the Stripe Connect token is refreshed.
  • See in code

wc_stripe_create_customer_args

  • Parameters: $args (array)
  • Description: Arguments used when creating a Stripe customer.
  • See in code

wc_stripe_create_customer_disallowed_order_statuses

  • Parameters: $order_statuses (array)
  • Description: Order statuses for which a Stripe customer will not be created from the order admin side.
  • See in code

wc_stripe_create_customer_required_fields

  • Parameters: $required_fields (array), $create_customer_request (array)
  • Description: Required fields the customer object must include before creation.
  • See in code

wc_stripe_customer_metadata

  • Parameters: $metadata, $user
  • Description: The metadata used when creating a Stripe customer.
  • See in code

wc_stripe_database_cache_is_expired

  • Parameters: $bool (bool), $prefixed_key (string), $cache_contents (array)
  • Description: Whether a cached entry is considered expired.
  • See in code

wc_stripe_database_cache_prefetch_window

  • Parameters: $window_seconds (int), $cache_key (string)
  • Description: Prefetch window for the database cache.
  • See in code

wc_stripe_detached_subscriptions_maximum_count

  • Parameters: $max_count (int)
  • Description: Maximum number of detached subscriptions to process in the status report.
  • See in code

wc_stripe_detached_subscriptions_maximum_time

  • Parameters: $max_time (int)
  • Description: Maximum lookback time when identifying detached subscriptions.
  • See in code

wc_stripe_display_save_payment_method_checkbox

  • Parameters: $bool (bool)
  • Description: Whether to show the save payment method checkbox.
  • See in code

wc_stripe_display_update_subs_payment_method_card_checkbox

  • Parameters: $bool (bool)
  • Description: Whether to show the 'update all subscriptions' checkbox when adding a new payment method.
  • See in code

wc_stripe_elements_classes

  • Parameters: $classes
  • Description: Additional options to add classes to the Stripe Elements.
  • See in code

wc_stripe_elements_options

  • Parameters: $options (array)
  • Description: Additional options to manipulate the Stripe Elements.
  • See in code

wc_stripe_elements_styling

  • Parameters: $styling
  • Description: Additional options to manipulate the Stripe Elements styling.
  • See in code

wc_stripe_expand_ocs_in_legacy_checkout

  • Parameters: $bool (bool)
  • Description: Whether to expand the Optimized Checkout (OCS) on the legacy checkout page.
  • See in code

wc_stripe_express_checkout_add_to_cart_sold_individually_quantity

  • Parameters: $qty (int), $qty_passed (int), $product_id (int), $variation_id (int)
  • Description: Quantity applied when adding a sold-individually product through express checkout. Replacement for the deprecated wc_stripe_payment_request_add_to_cart_sold_individually_quantity.
  • See in code

wc_stripe_express_checkout_countries_with_optional_postcode

  • Parameters: $countries_array (array)
  • Description: Country codes for which a postcode is treated as optional in express checkout.
  • See in code

wc_stripe_express_checkout_enable_classic_checkout_custom_fields

  • Parameters: $bool (bool)
  • Description: Whether classic-checkout custom fields are enabled in the express-checkout element.
  • See in code

wc_stripe_express_checkout_hide_itemization

  • Parameters: $bool (bool)
  • Description: Whether to hide itemized line items in the express-checkout sheet. Replacement for the deprecated wc_stripe_payment_request_hide_itemization.
  • See in code

wc_stripe_express_checkout_normalize_address

  • Parameters: $normalized_data (array), $data (array)
  • Description: Normalized address data returned from the express-checkout AJAX flow.
  • See in code

wc_stripe_express_checkout_params

  • Parameters: $params
  • Description: Localized JS key/value pairs for the express checkout element.
  • See in code

wc_stripe_force_save_payment_method

  • Parameters: $force_save_payment_method (bool), $order_id (string)
  • Description: Whether to force-save the payment method for this order. Replacement for the deprecated wc_stripe_force_save_source.
  • See in code

wc_stripe_generate_create_intent_request

  • Parameters: $request (array), $order (WC_Order), $prepared_source_or_null (object|null), $is_setup_intent (bool, optional)
  • Description: Request body used when creating a PaymentIntent or SetupIntent.
  • See in code

wc_stripe_generate_payment_request

  • Parameters: $post_data (array), $order (WC_Order), $prepared_payment_method (object)
  • Description: Request body assembled in the legacy gateway flow before being sent to the Stripe API.
  • See in code

wc_stripe_hide_display_order_fee

  • Parameters: $bool (bool), $order_id (int)
  • Description: Whether to hide the Stripe fee in the order admin view.
  • See in code

wc_stripe_hide_display_order_payout

  • Parameters: $bool (bool), $order_id (int)
  • Description: Whether to hide the Stripe net payout in the order admin view.
  • See in code

wc_stripe_hide_payment_request_on_product_page

  • Parameters: $bool (bool), $post
  • Description: Whether to hide the express checkout button on product detail pages.
  • See in code

wc_stripe_idempotency_key

  • Parameters: $key_string (string), $request
  • Description: The string used as the idempotency key on a request.
  • See in code

wc_stripe_intent_metadata

  • Parameters: $metadata, $order (WC_Order)
  • Description: Metadata applied to a PaymentIntent.
  • See in code

wc_stripe_is_agentic_commerce_enabled

  • Parameters: $bool (bool)
  • Description: Whether the Agentic Commerce feature is enabled.
  • See in code

wc_stripe_is_checkout_sessions_available

  • Parameters: $bool (bool)
  • Description: Whether the Stripe Checkout Sessions feature is available.
  • See in code

wc_stripe_is_optimized_checkout_available

  • Parameters: $bool (bool), $pmc_setting (string), $pmc_enabled (string)
  • Description: Whether Optimized Checkout is available for the store.
  • See in code

wc_stripe_is_valid_create_and_confirm_setup_intent_captcha

  • Parameters: $bool (bool)
  • Description: Whether the captcha challenge for create-and-confirm SetupIntent flows is valid.
  • See in code

wc_stripe_is_verbose_debug_mode_enabled

  • Parameters: $bool (bool)
  • Description: Whether verbose debug mode is enabled.
  • See in code

wc_stripe_load_scripts_on_cart_page_when_prbs_disabled

  • Parameters: $bool (bool)
  • Description: Whether to load Stripe scripts on the cart page when payment request buttons are disabled.
  • See in code

wc_stripe_load_scripts_on_product_page_when_prbs_disabled

  • Parameters: $bool (bool)
  • Description: Whether to load Stripe scripts on product pages when payment request buttons are disabled.
  • See in code

wc_stripe_localized_messages

  • Parameters: $localized_messages (array)
  • Description: The messages used from Stripe responses.
  • See in code

wc_stripe_ocs_non_excludable_payment_methods

  • Parameters: $method_ids_array (string[])
  • Description: Payment method IDs that should never be excluded when Optimized Checkout (OCS) is enabled.
  • See in code

wc_stripe_optimized_checkout_title

  • Parameters: $title (string), $context (string)
  • Description: Title displayed for the Optimized Checkout payment method. $context is 'classic' or 'blocks'.
  • See in code

wc_stripe_owner_details

  • Parameters: $details, $order (WC_Order)
  • Description: Owner/billing details object included with payment requests.
  • See in code

wc_stripe_params

  • Parameters: $params
  • Description: Localized JS key/value pairs for the main Stripe gateway.
  • See in code

wc_stripe_PAYMENT_METHOD_supported_currencies (dynamic, voucher methods)

  • Parameters: $currencies (array)
  • Description: Supported currencies for voucher payment methods (Boleto, OXXO, Multibanco). For UPE methods, use wc_stripe_PAYMENT_METHOD_upe_supported_currencies instead.
  • See in code

wc_stripe_PAYMENT_METHOD_upe_supported_currencies (dynamic, UPE methods)

  • Parameters: $currencies (array)
  • Description: Supported currencies for a specific UPE payment method.
  • See in code

wc_stripe_payment_icons

  • Parameters: $icons_array (array)
  • Description: Icons shown next to each payment method.
  • See in code

wc_stripe_payment_metadata

  • Parameters: $metadata (array), $order (WC_Order|null), $prepared_payment_method (object|null)
  • Description: Metadata sent with the PaymentIntent or charge. Fired from the legacy gateway and from the Checkout Sessions flow (in the latter, $order and $prepared_payment_method are null).
  • See in code

wc_stripe_payment_request_button_locale

  • Parameters: $locale (string)
  • Description: Locale code used by the express-checkout button.
  • See in code

wc_stripe_payment_request_level3_data

  • Parameters: $level3_data (array), $order (WC_Order)
  • Description: Level 3 line-item data sent with the payment request.
  • See in code

wc_stripe_payment_request_payment_method_title_suffix

  • Parameters: $suffix (string)
  • Description: Suffix appended to the express-checkout payment-method title shown on orders and emails.
  • See in code

wc_stripe_payment_request_product_data

  • Parameters: $data, $product
  • Description: Product data returned to the express-checkout sheet.
  • See in code

wc_stripe_payment_request_shipping_posted_values

  • Parameters: $shipping_address
  • Description: Shipping address values posted from the express-checkout sheet.
  • See in code

wc_stripe_payment_request_supported_types

  • Parameters: $types (array)
  • Description: The product types express checkout supports.
  • See in code

wc_stripe_payment_request_total_label

  • Parameters: $label (string)
  • Description: The total label shown on the legacy payment request sheet.
  • See in code

wc_stripe_payment_request_total_label_suffix

  • Parameters: $suffix (string)
  • Description: Label suffix used on the legacy payment request total label.
  • See in code

wc_stripe_preselect_payment_method_configuration

  • Parameters: $pmc_id_or_null (string|null), $is_test_mode (bool)
  • Description: Preselected Payment Method Configuration ID for the account.
  • See in code

wc_stripe_privacy_eraser_subs_statuses

  • Parameters: $statuses (array)
  • Description: Subscription statuses considered 'active' for the WordPress privacy eraser.
  • See in code

wc_stripe_process_payment_intent_webhook_async

  • Parameters: $bool (bool), $order (WC_Order), $intent, $notification
  • Description: Whether to process the payment-intent webhook asynchronously.
  • See in code

wc_stripe_refund_request

  • Parameters: $request, $order (WC_Order)
  • Description: Request parameters when a refund is requested.
  • See in code

wc_stripe_request_body

  • Parameters: $request (array), $api (string)
  • Description: Request body sent to the Stripe API. Replacement for the deprecated woocommerce_stripe_request_body.
  • See in code

wc_stripe_request_headers

  • Parameters: $headers (array)
  • Description: HTTP headers used for Stripe API requests. Replacement for the deprecated woocommerce_stripe_request_headers.
  • See in code

wc_stripe_save_to_account_text

  • Parameters: $text (string)
  • Description: Text shown next to the save payment information checkbox.
  • See in code

wc_stripe_save_to_subs_checked

  • Parameters: $bool (bool)
  • Description: Whether the checkbox to update all active subscriptions with the new saved card is checked by default.
  • See in code

wc_stripe_save_to_subs_text

  • Parameters: $text (string)
  • Description: Text shown next to the checkbox to update all active subscriptions with the new saved card.
  • See in code

wc_stripe_send_stripe_receipt

  • Parameters: $bool (bool)
  • Description: Whether to send a receipt via Stripe.
  • See in code

wc_stripe_sepa_elements_options

  • Parameters: $options (array)
  • Description: Options applied to the legacy SEPA Stripe Elements instance.
  • See in code

wc_stripe_sepa_mandate_notification

  • Parameters: $method (string)
  • Description: The method used to inform the customer of the SEPA mandate.
  • See in code

wc_stripe_settings

  • Parameters: $settings_array (array)
  • Description: Admin settings array for the main Stripe gateway.
  • See in code

wc_stripe_should_hide_express_checkout_button_based_on_tax_setup

  • Parameters: $hide_based_on_tax (bool)
  • Description: Whether to hide (or show) express checkout for virtual products that are taxable and taxes are based on the billing address.
  • See in code

wc_stripe_show_payment_request_on_cart

  • Parameters: $bool (bool)
  • Description: Whether to show the express checkout button on the cart page.
  • See in code

wc_stripe_show_payment_request_on_checkout

  • Parameters: $bool (bool), $post
  • Description: Whether to show the express checkout button on the checkout page.
  • See in code

wc_stripe_show_stripe_developer_widget

  • Parameters: $bool (bool)
  • Description: Whether to show the Stripe developer widget in the admin.
  • See in code

wc_stripe_unexpected_charge_detected

  • Parameters: $order (WC_Order), $charge (object), $webhook_type (string)
  • Description: Fired when an asynchronously-confirmed Stripe charge is detected on an order whose recorded payment method is not a Stripe gateway (i.e. the shopper settled that order via a different gateway before Stripe finished capturing).
  • See in code

wc_stripe_update_customer_args

  • Parameters: $args (array)
  • Description: Arguments used when updating an existing Stripe customer.
  • See in code

wc_stripe_update_existing_intent_request

  • Parameters: $request (array), $order (WC_Order), $prepared_source (object)
  • Description: Request body used when updating an existing PaymentIntent.
  • See in code

wc_stripe_update_subs_payment_method_card_statuses

  • Parameters: $statuses (array)
  • Description: Which subscription statuses will have their payment method updated when the customer chooses that option when adding a new payment method. Defaults to active.
  • See in code

wc_stripe_upe_params

  • Parameters: $params
  • Description: Localized JS key/value pairs for the UPE element.
  • See in code

wc_stripe_upe_permitted_font_domains

  • Parameters: $domains_array (string[])
  • Description: Domains permitted for custom Stripe Elements fonts.
  • See in code

wc_stripe_use_default_customer_source

  • Parameters: $use_default (bool)
  • Description: Whether to use the default customer source when no source is found.
  • See in code

wc_stripe_webhook_dispute_change_order_status

  • Parameters: $bool (bool), $order (WC_Order), $notification
  • Description: Whether to change the order status when a dispute event arrives.
  • See in code

wc_stripe_webhook_review_change_order_status

  • Parameters: $bool (bool), $order (WC_Order), $notification
  • Description: Whether to change the order status when an order review event happens.
  • See in code

Deprecated Actions

wc_gateway_stripe_process_payment

  • Parameters: $charge_or_response, $order (WC_Order)
  • Deprecated since: 9.7.0
  • Replacement: wc_gateway_stripe_process_payment_charge
  • See in code

wc_gateway_stripe_process_redirect_payment

  • Parameters: $response, $order (WC_Order)
  • Deprecated since: 9.7.0
  • Replacement: wc_gateway_stripe_process_payment_charge
  • See in code

wc_gateway_stripe_process_webhook_payment

  • Parameters: $response, $order (WC_Order)
  • Deprecated since: 9.7.0
  • Replacement: wc_gateway_stripe_process_payment_charge
  • See in code

Deprecated Filters

wc_connect_api_client_body

  • Parameters: $body
  • Deprecated since: 9.6.0
  • Replacement: (none)
  • See in code

wc_connect_request_args

  • Parameters: $args
  • Deprecated since: 9.6.0
  • Replacement: (none)
  • See in code

wc_connect_server_url

  • Parameters: $url (string)
  • Deprecated since: 9.6.0
  • Replacement: (none)
  • See in code

wc_gateway_stripe_allowed_payment_processing_statuses

  • Parameters: $allowed_statuses (array)
  • Deprecated since: 9.7.0
  • Replacement: wc_stripe_allowed_payment_processing_statuses
  • See in code

wc_stripe_force_save_source

  • Parameters: $force_save (bool), $order_id_or_customer
  • Deprecated since: 9.6.0
  • Replacement: wc_stripe_force_save_payment_method
  • Note: Argument shapes vary across legacy callsites. The canonical deprecated call passes ($force_save, $order_id). Some legacy callsites still call this as a regular apply_filters with ($force_save_source, $customer) or just ($force_save_source).
  • See in code

wc_stripe_payment_request_add_to_cart_sold_individually_quantity

  • Parameters: 1, $qty (int), $product_id (int), $variation_id (int)
  • Deprecated since: 10.6.0
  • Replacement: wc_stripe_express_checkout_add_to_cart_sold_individually_quantity
  • See in code

wc_stripe_payment_request_hide_itemization

  • Parameters: $bool (bool)
  • Deprecated since: 10.6.0
  • Replacement: wc_stripe_express_checkout_hide_itemization
  • See in code

woocommerce_stripe_calculated_total

  • Parameters: $calculated_total (float), $order_total (float), $cart (WC_Cart)
  • Deprecated since: 9.6.0
  • Replacement: wc_stripe_calculated_total
  • See in code

woocommerce_stripe_request_body

  • Parameters: $request (array), $api (string)
  • Deprecated since: 9.7.0
  • Replacement: wc_stripe_request_body
  • See in code

woocommerce_stripe_request_headers

  • Parameters: $headers (array)
  • Deprecated since: 9.7.0
  • Replacement: wc_stripe_request_headers
  • See in code

Clone this wiki locally