Created
June 29, 2018 08:17
-
-
Save corsonr/22a55cb9395020ac3ecebeb430a22300 to your computer and use it in GitHub Desktop.
WooCommerce Stripe: force customer creation in Stripe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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