Home › Forums › Core › Making Pay with wallet checked default in the Checkout page
Thanks for the awesome plugin!!
How can I make the Pay with wallet checked default in the Checkout page? if the customer decides not to pay with a wallet they can uncheck it.
Note: I’m using the wallet for partial payment only (ex. only 10% of the cart value is paid using terawallet, remaining will be paid by another gateway ).
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.