Support » Plugin: TeraWallet - For WooCommerce » Is there a way to top up wallet from coupon?

  • Resolved gary_sweetman



    I am using the latest woocommerce, wordpress and the latest version of your plugin.

    However I was wondering if it was possible to convert vouchers/coupons into wallet balance?

    I tried creating an order to topup the wallet and pay using a coupon however this didn’t work as it took the total from the actual amount paid (0.00) not the original topup cost, so the coupon got used up but the wallet balance topped up £0.00

    Please advise


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


    Hi @gary_sweetman,

    I am afraid this option is not available in core plugin but you can do it by some custom coding.

    Thank you.

    Hi again,

    Unfortuantely I wouldn’t know where to edit to get it to take the subtotal instead of the total for the amount to top up by.

    Any advice would be appreciated?

    Thanks anyway.

    Plugin Author Subrata Mal



    Could you please reach us to

    Thank you.

    I have messaged you, thanks

    Excellent support, this is now working exactly as requested, thank you!

    I would also be interested in this as a plugin option than could be configured to certain categories (ie Gift Coupons).

    I try to avoid any custom coding to avoid compatibility problems or having to re-code in the future.



    Plugin Author Subrata Mal


    Hi @chrisowp,

    Sorry I am not clear about your query are referring to product category wise cashback? If so then new version 1.0.9 comes with category wise cashback please have a look.


    Sorry for the confusion.
    As per the original request on this thread I would like to be able to use a coupon to top up a wallet balance. I don’t wish to run custom code so was suggesting it would be good to be able to configure in Wallet settings to have some categories (eg. Gift Cards) to take the payment from the sub-total (the gift card amount) rather than the amount paid after the Gift card acts as a coupon discount ($0)

    I need to recharge my wallet from promo code and refer and I am using the updated version of this plugin but this not provide the functionality of promocode .How I do it

    Plugin Author Subrata Mal


    Hi @vvk3112,

    Please use
    aff_filter('woo_wallet_redirect_to_checkout_after_added_amount', '__return_false');
    to theme function.php file this code will redirect user to cart page after wallet top-up from which they can apply coupon.

    Thank you.



    Dear Subrata,

    Is there a way to top up the wallet balance from any coupon? I have read the threads above, but am not sure if they are what I am looking for.

    Thanks in advance,



    I have a suggestion, that when users navigate to the top up page, they find an option to load the wallet through prepaid cards (i.e like coupons) … Another field is added to the top up page to allow users to enter the prepaid card number and load the wallet with the amount already specified and set by admins to that card.
    The workflow is like this:

    1. Admins set prepaid cards amount, and other settings, just like the deal with coupons and so.
    2. Cards should have a unique numerical code (preferably auto-generated) by the wallet system
    3. These prepaid cards codes can then be printed and distributed so that users can buy them to use then to load their accounts
    4. Useres access their account and enter the unique numerical code in the top up page
    5. Then if the code hasn’t expired or used before, the amount is added to the wallet

    This is just like the deal with telecom companies, that allow users to buy prepaid cards and recharge their telecom accounts to make calls and so.

    This can be useful in local areas where some online payment methods are not available for some users.

    Looking for same. The code provided above is giving an error.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Is there a way to top up wallet from coupon?’ is closed to new replies.