WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

WooCommerce Stripe – Force 3D Secure

April 25, 2018 by Will Leave a Comment

By default, the WooCommerce Stripe Gateway will only redirect to a 3D Secure page if 3D Secure is required on the source credit card. There are some cards, however, which support 3D Secure but do not require 3D Secure, i.e. the 3D Secure is optional. These types of cards, by default, will not redirect to the 3D Secure page.

The Stripe gateway does provide a filter named is_3ds_required that can be used to force these optional cards to redirect. Here is a quick example of one way that this filter could be implemented to achieve this:

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: WooCommerce Tagged With: snippet, snippets

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2019 · WooCommerce, Remote Work & Other Fancy Stuff ·

We use cookies to ensure that we give you the best experience on our website. Continued use of this site is interpreted as your acceptance of our cookie policy.OkSee Our Cookie Policy