Reply To: Making Pay with wallet checked default in the Checkout page2019-12-03T12:15:37+05:30

Home Forums Core Making Pay with wallet checked default in the Checkout page Reply To: Making Pay with wallet checked default in the Checkout page

jdizzle
Participant
Post count: 12

you could use jquery to select it after the page finishes rendering.

If their balance is 0, it can’t be shown without hacking it together.

You can use this filter.
add_filter( ‘woo_wallet_payment_is_available’, ‘__return_true’);
But will need to do some more work arounds for error messages etc.

It also creates the order still, but no payment gets captured (holding the order). You can work around this though.