Force Customer Creation in Stripe with WooCommerce



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:

Leave a Reply