• mikethome

    (@mikethome)


    Incorrect amount being charged to credit card. Product subtotal + shipping are being charged against wallet, however if taxes pushes the order total over the wallet balance, the taxes are not deducted from the wallet.

    For example,

    Wallet balance: 100

    Product total: 90

    Shipping: 5

    Taxes: 7

    Total Order is 102

    Ideally, 100 should be deducted from the wallet, leaving 2 to be charged to other payment method. What is happening on our site, is 95 (total of product + shipping) is deducted from wallet and 7 is being charged to other payment method. Is this an issue with getting the wrong subtotal variable and applying against the wallet or a case where applying against the wallet action takes place before taxes are calculated?

    Also, on a side note… after digging through some of the plugin code, have found a few misspellings “parial”(incorrect) instead of “partial”(correct) and “compleate” vs “complete”. This doesn’t appear to impact anything since the misspelling is consistent throughout the function. Just an FYI ??

    [ Bump deleted, don’t bump. ]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mikethome

    (@mikethome)

    Sorry about the bump, but am really in the need for some help here. Anyone else have similar issues?

    Thread Starter mikethome

    (@mikethome)

    Have tested and retested and am convinced that this plugin does not include taxes when determining total to be deducted from wallet. I feel like this is an order of operations issue. The order total is only including subtotal + shipping if this evaluates as a positive number then the subtotal amount is multiplied by -1 and added to the cart as a negative item.

    Trying to work out the logic in my head since I don’t know when the plugin actually executes all of the calls in between woocommerce’s actions.

    #1 – subtotal + shipping + tax < point balance 

    total is added to cart as negative number and subtracted from point balance

    #2 – subtotal + shipping > point balance

    full point balance is depleted and subtracted from total (including taxes)

    taxes + remaining subtotal is multiplied by .03 and re-totaled

    re-total is sent to payment gateway and charged to CC

    #3 – subtotal + shipping + taxes > point balance

    only subtotal + shipping is added to cart as negative number

    only subtotal + shipping is subtracted from point balance

    taxes + cc fee are calculated and sent to payment gateway

    #3 is incorrect and we are desperately needing some help here. The entire wallet balance should be added as a negative number and depleted from the wallet.

    Thanks in advance!

    • This reply was modified 2 years ago by mikethome.
    • This reply was modified 2 years ago by mikethome.
    • This reply was modified 2 years ago by mikethome.
    poll0none

    (@poll0none)

    Hi I′m in no way part of the plugin′s team or anything to do with support.

    But I have been looking through the support topics and yours got my interest.

    So… let′s talk taxes, I am assuming that woocommerce does tax the Top Ups your clients make, but then doesn′t tax whenever they use their wallet ballance. If this is the case, then don`t worry, the plugin is behaving like it should.

    The moment somebody deposits funds into their wallet, you are legally responsible for that amount and your taxes should be paid no matter wether they haven′t spent any credit from the wallet. If in the next term the client asks for a withdrawal, you only have to declare the withdrawal amount as a client refund.

    I hope this helps. ^^

    Plugin Author Subrata Mal

    (@subratamal)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Partial Payment error – not including taxes’ is closed to new replies.