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?

    When the Stripe WooCommerce Extension is installed on your site, it includes some assets to display payment icons. You can use the wc_stripe_payment_icons filter to use different icons than those included in the extension. For example, to replace the existing Visa icon asset with one hosted at https://example.com/images/visa.svg, you would use this snippet:

  • How do I translate the payment form placeholder text?

    When the payment form is loaded by the Stripe extension, the fields will have placeholder text. These placeholders are automatically translated by Stripe. By default, Stripe detects the locale of the browser and uses that as the default. These placeholders cannot be translated through your site since the form is loaded in an iframe — […]

  • 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.