Only allow payment through wallet if wallet credits are enough2019-07-19T12:39:18+05:30

Home Forums Core Only allow payment through wallet if wallet credits are enough

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • adrianmark1991
    Participant
    Post count: 3

    Hi how can i enable to option to allow checkout with wallet only when wallet credits are enough?

    Subrata Mal
    Keymaster
    Post count: 207
    adrianmark1991
    Participant
    Post count: 3

    hi i checked it out, i believe my question was not clear, sorry. Its supposed to be like this, if user wants to use wallet to pay, they have to make sure wallet has enough credits to make full payment, if not they have to top up. Other payment gateways not affected, can still be used either way

    Subrata Mal
    Keymaster
    Post count: 207

    Are you want to stop the partial payment option?

    adrianmark1991
    Participant
    Post count: 3

    yes, basically stop partial payment

    toninom
    Participant
    Post count: 1

    Hi, I have the same problem, maybe the snippet code can help to purpouse, but where I have insert it ?
    Thanks.

    Subrata Mal
    Keymaster
    Post count: 207

    Please insert the code snippet at active theme function.php file. And also to disable partial payment please use this code in theme function.php file

    add_filter('woo_wallet_disable_partial_payment', '__return_true');

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
WhatsApp