• Resolved aacilconcepts

    (@aacilconcepts)


    I am noticing this issue for the first time after i updated my dokan lite..
    When i try to buy something from my site, after complete transaction in vendors dashboard for instance there is a current balance of Current Balance: 1,918.00 and when i try to make withdrawal of the whole money in the account, after i have request for withdrawal and i go to WP dashboard to APPROVE it, when i go back to the vendors dashboard to refresh the page, i discover that they system only deducted (2.00) instead of the complete money to be deducted so that it will remain 0.00 balance…. it wont happen like that the next balance i will see is 1,916.00.

    I hope this is not a bug because before all the new updates every thing was working fine….
    I have updated all my plugins and this is still happening.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @aacilconcepts,

    I have done some test on my local-server and failed to reproduce the issue which you have mentioned. It seems like you may need to re-generate the order table from Doakn -> Tools -> Regenerate order table. If it does not solve your problem, then your website needs to be checked. You can directly send us an e-mail here if you want us to check your website.

    Thread Starter aacilconcepts

    (@aacilconcepts)

    wow this is getting really frustrating i tried your solution but it wont work… and i really cant proceed with is… all my project is ready only this issue gives me serious challenges.

    Hello

    Yes, I have exactly the same problem

    Of course, I think the problem is:
    wp-content / plugins / dokan-lite / includes / class-vendor.php
    Line: 327
    $earning = (float) $result->earnings - number_format( (float) $result->withdraw, wc_get_rounding_precision() );

    I replaced this code and made it correct:
    $earning = (float) $result->earnings - (float) $result->withdraw;

    I think the problem is the number_format() function

    Hello @onlinerir,

    We have fixed this issue already and will release an update within a very short time ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Withdrawal balance error’ is closed to new replies.