Withdrawal Balance Incorrect

This topic contains 14 reply and 4 voices, and was last updated by towhid 9 years, 1 month ago
Viewing 14 Posts - 1 through 14 (of 14 total)
Author Posts
January 26, 2015 at 12:46 am 34997
towhid Hi there I am having an issue with my sellers' withdrawal balances. In the logs, everything appears correct with regards to commission but on the withdrawal page, the figure is incorrect, so I'm getting a number of emails from my sellers complaining that I am ripping them off. I can't find anything in the forums to help me. However, the following information might help: all products are downloads and the majority of them are free downloads. For every paid order, there could be 50 free orders.
January 26, 2015 at 10:43 am 35012
towhid towhid

Hello Simon,

From starting you are getting this abnormality? The information you gave to me are not clear enough. Can you elaborate it more with a screenshot please or any others way you prefer. I am here to help you.

Thank You 🙂

January 26, 2015 at 9:39 pm 35063
Simon Simon

Hi again

Here’s the screenshot but it doesn’t tell you much. Up until yesterday, it only showed €15.40 with sales of €18. Today it shows €17.10 even with €18.00 of sales still, which appears to be correct. I have another seller who has a similar situation in that there seems to be an arbitrary delay on the withdraw balance updating to the correct figure.

If I check the logs, everything apears correct so I’m not sure what the problem is.

Screenshot

January 27, 2015 at 11:26 am 35092
towhid towhid

Hello Simon,

Please let me know how many sellers you have also is it happening every time for every seller?

Thank You 🙂

January 27, 2015 at 1:25 pm 35100
Simon Simon

2 confirmed reports from sellers. It is only a new site so very few sellers, and yes, it is happening each time.

January 27, 2015 at 2:14 pm 35105
towhid towhid

Hello Simon,

Please provide your login details by using this form – http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

January 27, 2015 at 11:12 pm 35137
Simon Simon

Done, thank you!

January 28, 2015 at 4:14 pm 35190
towhid towhid

Hello Simon,

please open dokan/include/wc-fucntion.php file and you will see this line number 1585 you will find this below code:

WHERE seller_id = %d AND DATE(p.post_date) < %s AND order_status IN({$status})";

replace with

WHERE seller_id = %d AND DATE(p.post_date) <= %s AND order_status IN({$status})";

Hope it will solve your problem.

Thank You 🙂

January 28, 2015 at 4:50 pm 35196
Anas Basalamah Anas Basalamah

should I change it?

I mean is it a general bug or just with simon ?

thanks

January 28, 2015 at 5:27 pm 35198
towhid towhid

Hello Anas,

Yes, you can also change it. First match with my first line of code I provided. No need to edit the code if the code in you file.

Thank You 🙂

January 28, 2015 at 5:48 pm 35199
towhid towhid

Hello Anas and Simon,

Please allow us some time. We will fix it and upload in our repository then you can download and work. For now you can continue with my instructions.

Thank You 🙂

February 5, 2015 at 3:37 am 35797
Simon Simon

Great! Thanks so much.

February 5, 2015 at 11:01 am 35838
towhid towhid

Hello Simon,

If your problem solved, then I can mark the topic as resolved or you can do yourself.

Thank You 🙂

March 1, 2015 at 8:30 am 37910
Mohammed Jawad Mohammed Jawad

This seems to be a very bad bug – has this been fixed yet?

March 1, 2015 at 10:12 am 37913
towhid towhid

Hello Jawad,

Yes, this has been already fixed. Can you check please and let me know.

Thank You 🙂

Viewing 14 Posts - 1 through 14 (of 14 total)