Hello,
How can I redirect my customers on accessing checkout page to a custom page when the user’s wallet balance is insufficient to buy the product chosen.
1. The only payment gateway for purchasing products is the wallet this was restricted per product with this plugin https://yithemes.com/themes/plugins/yith-payment-method-restrictions-for-woocommerce/
2. Now when a user wants to purchase a product of 2,000 dollars but his wallet balance is 1,000, how can I redirect this user to a custom page on checkout (top-up-notification) instructing this user that his wallet balance is low and he needs to top up is wallet. This page will contain a link to the wallet topup page.
Thanks