• Resolved roberto22

    (@roberto22)


    Hi,

    I have enabled the wallet as payment method. My question is if the wallet can only be available in checkout when the order total amount is lower or the same as the wallet. If the order total is higher, then the wallet is disable.

    The reason is that i dont want the user to make partial payments. I need the user to fully pay using only one payment method at a time.

    Thanks for the help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @roberto22 Please enable wallet payment method from WooCommerce > settings > payment tab.

    Thread Starter roberto22

    (@roberto22)

    Hi,

    Yes I have enabled it. But the wallet is available in checkout even if the order total amount is higher than the money in the wallet.

    I only want it to be available when the wallet total is lower or has the same as the order total.

    Plugin Author Subrata Mal

    (@subratamal)

    @roberto22 Please use this filter in the theme functions.php file to disable partial payment.

    add_filter('woo_wallet_disable_partial_payment', '__return_true');

    Thread Starter roberto22

    (@roberto22)

    Hi,

    The snippet is working but when a user pays fully with his wallet, the money is not being debited, and also the order is in pending payment status.

    Any ideas why is this happening? Thanks again!

    Plugin Author Subrata Mal

    (@subratamal)

    @roberto22 This might be some plugin conflict. Please disable all WooCommerce related plugins and check.

    Thread Starter roberto22

    (@roberto22)

    Hi,

    I deactived all the plugins. I just have terawallet and woocommerca acitve and still the money form wallet is not being debited when paying full amount. It is only debited when i make partial payment.

    Thanks!

    • This reply was modified 2 years, 9 months ago by roberto22.
    Plugin Author Subrata Mal

    (@subratamal)

    @roberto22 Please reach out to our support email [email protected] regarding this.

    Thread Starter roberto22

    (@roberto22)

    Hi,

    Thanks, i sent you an email.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Pay via wallet’ is closed to new replies.