Force Customer Creation in Stripe with WooCommerce

Remi | June 29, 2018 | in Tips

By default, when an order is placed on a WooCommerce site using Stripe, the order is obviously sent to Stripe, a payment is stored, but a Stripe customer is created only if the “saved cards” feature is used, otherwise no customer is created in Stripe.

But you can force the customer creation process in Stripe easily to make sure you have a new Stripe customer created for every single order.

So, to create a customer in Stripe for every single order placed on WooCommerce, you can add this snippet to the file called functions.php in your theme folder, or you can add it using a plugin like Code Snippets:

The author

About the author Remi: Hey! My name is Rémi Corson, I'm a French WordPress Developer, I code stuff and I write from time to time ;-)

Leave a reply