I found a bug about Terawallet2019-09-28T16:21:57+05:30

Home Forums Core I found a bug about Terawallet

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ozan.121497
    Participant
    Post count: 1

    I give 50TL bonus money to everyone who is a member of Terawallet. But there are 20 TL products on the site and this brings out a bug, customers can open a membership and receive free products with the bonus. I’ve thought of two ways to fix it, but I have no idea how to do it.

    Method 1-) The amounts received from membership cannot be used in the first purchase
    Method 2-) If payment is below a certain total amount, do not show Terawallet payment option.

    I used the contidional payment method plugins today, but it didn’t work because it didn’t see terawallet as a payment method.

    How can i fix it ?

    averdier
    Participant
    Post count: 1

    I have the same issue:
    When I add $600 to a registered client and he buys an item for only $300 or less than $600 (below a certain total amount),Terawallet payment option is not available. I contacted support and they are charging me for a “paid support” services….. on top of that the agent on the end of the “live chat” is rude and does not give me any answers.

    jdizzle
    Participant
    Post count: 12

    Not a bug. Requires custom coding.

    Instead of giving $50, give them $10.
    OR
    Hire a developer who can setup a conditional php statement to disable woo-wallet as payment if cart total is less than a desired amount.
    I’m no way affiliated with woo-wallet might I add.

    I’ll give you some tips to point you in the right direction. These filters turn on and off woo-wallet payment options.

    //disables woo-wallet
    add_filter( ‘woo_wallet_payment_is_available’, ‘__return_false’, -1);
    //Always show woo-wallet as option hack
    add_filter( ‘woo_wallet_payment_is_available’, ‘__return_true’);

    //This Woocommerce filter you can filter out which payments you want available.
    add_filter( ‘woocommerce_available_payment_gateways’, ‘your_unset_gateways_function’ );

    your_unset_gateways_function being the function which you run your conditional statements to whether or not you should show or disable the woo-wallet.

    Hope this helps.
    Best,
    JD

    PS I personally don’t do a credit program on registration as it’s too easy to manipulate.

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