Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Force Woocommerce to Collect Payment Info on All Orders
/**
* Force Woocommerce to require payment on all orders
*
* @author Nick Jeffers
* @url nickjeffers.com
*/
add_filter( 'woocommerce_cart_needs_payment', '__return_true', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.