Skip to content

Instantly share code, notes, and snippets.

@VanLuda
Forked from corsonr/functions.php
Created September 26, 2019 03:24
Show Gist options
  • Save VanLuda/5893071089ce5a91255c3061e4dd7287 to your computer and use it in GitHub Desktop.
Save VanLuda/5893071089ce5a91255c3061e4dd7287 to your computer and use it in GitHub Desktop.
WooCommerce Stripe: force customer creation in Stripe
<?php // Do not include this if already open! Code goes in theme functions.php.
/*
* Force customer creation process in Stripe.
*/
add_filter( 'wc_stripe_force_save_source', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment