💸 Get more for your money each Wednesday with big savings on selected extensions. Shop this week's deals
Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.

Customization


Documents

  • Customizing the Stripe WooCommerce Extension

    While we strive to make the Stripe WooCommerce Extension easy to use, we also want to ensure that you have the resources you need to modify the extension so that it can meet the unique needs of your WooCommerce store and your customers. If you’re looking to customize the Stripe WooCommerce Extension, we’ve compiled common […]

  • How can I send product details to Stripe as metadata?

    When a customer places an order via the Stripe extension, you may want to send additional details to Stripe as metadata. To do this, you can leverage one (or both) of the following filters: Here’s an example snippet: Here’s how the metadata from that snippet appears in the Stripe dashboard:

  • How do I change which payment icons are used?

    The Stripe extension includes some assets to display payment method icons. You can use the wc_stripe_payment_icons filter to use different icons than the ones included in the extension by default. For example, to replace the existing Visa icon, you could use this snippet:

  • How do I translate the payment form placeholder text?

    The Stripe extension payment form has placeholder values that are automatically translated by Stripe. By default, they use the visitor’s browser locale. These placeholders cannot be translated via the usual methods because the form is loaded in an iframe, so we’ve shown how to translate them below. If you are using the legacy checkout experience, […]

  • What hooks and filters are available in the Stripe WooCommerce Extension?

    This section describes all hooks available to you if you need to manipulate how the Stripe WooCommerce Extension functions. Action Hooks Hook Name Hook Parameter(s) Hook Description wc_gateway_stripe_process_response $stripe_response$order The response we get back after calling a charge request to Stripe. woocommerce_credit_card_form_start $gateway_id Before showing the credit card form. woocommerce_credit_card_form_end $gateway_id After showing the credit […]

  • How can I change the style of the payment form?

    Customizing the payment forms used in the Stripe WooCommerce Extension is a bit different than styling other elements of your site. This is because the payment form is served in an iframe on your site — which means that the payment form is actually hosted by Stripe and it’s embedded on your site. You can […]

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.