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

    (@subratamal)

    Hi @schaussi,

    We have checked the workflow and it is working as expected in our local environment. Please check if there is any plugin or theme conflict.

    Thank you.

    Thread Starter Schaussi

    (@schaussi)

    Hi @subratamal,

    thank you for your answer.
    I re-checked the theme and plugins but have not found the cause yet.
    IMHO when finishing the order, it tries to also pay the current negative wallet balance. This is useful e.g. if the payment method of the current order is e.g. cash, but not if he pays again via his (negative balanced) wallet.

    Example of an order confirmation email, I added some comments:
    SomeProduct 1 €2,00 // OK
    Zwischensumme: €2,00 //subtotal – OK
    Lieferung: Kostenlose Lieferung //free delivery – OK
    Zahlungsmethode: MyTestWallet //the payment method (wallet) – OK
    Via wallet: -€6,00 //the current negative wallet balance; this line causes the wrong sum!
    Via MyTestWallet: €8,00 //the wallet; should be €2,00
    Gesamt: €8,00 //total; should be €2,00

    So if the user had a balance of -6 € before, he has a balance of -14 € afterwards, but the product price was only 2 €…

    The “Via wallet” line should not exist here I think.

    I hope it’s more clear now what I mean.
    Please tell me if you need more details.

    Thank you!

    Edit:
    In woo-wallet-util.php, when I change function is_full_payment_through_wallet() to always return true, it seems to work correctly for my purposes.

    • This reply was modified 6 years, 4 months ago by Schaussi. Reason: Added Workaround
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowing withdrawal, negative balance’ is closed to new replies.