Hi @hector0371,
As you already know, documentation related to your asked topics is not available right now in public. These actions are not handled by a single action. They have managed by a whole directory.
If you want to know about these you can have a look at the wp-content/plugins/dokan-lite/includes folder. There the wp-content/plugins/dokan-lite/includes/orders folder is meant to manage orders.
wp-content/plugins/dokan-lite/includes/commission.php file is for controlling the commission system of the whole site.
wp-content/plugins/dokan-lite/includes/withdraw folder is to handle the whole withdrawal system.
I hope the above-mentioned information will help.
@jahidulhassan
Thank you for your reply, i will try the advices you mentioned. In addition, I also want to know: what should I do if I want to add/remove credit in a Dokan account balance via programs and codes? Thanks
Hi @hector0371,
You’re welcome! The credit-control calculation for a Dokan account is controlled mostly from wp-content/plugins/dokan-lite/includes/orders this folder.
As a further hint, I would like to inform you that the balance of a vendor account is shown by combining your database’s _dokan_orders and _dokan_vendor_balance table.
@jahidulhassan
Im glad to receive your thoughtful guide! Ive made some progress so far, but it would be nice if I can get more codes to learn from. I read from other topics here that there is a function in Dokan called “automatic disbursement”, which can automatically transfer vendor account balance to target payment method with a set time interval, and it would be nice if I can use similar function to wallet. However, so far I didnt find this function either in dokans dashboard settings or those .php files, and the method to utilize this setting in developer document did`t work. I wonder where this function is hiding?
@jahidulhassan
I am glad to receive your thoughtful guide! I have made some progress so far, but it would be nice if I can get more codes to learn from. I read from other topics here that there is a function in Dokan called “automatic disbursement”, which can automatically transfer vendor account balance to target payment method with a set time interval, and it would be nice if I can use similar function to wallet. However, so far I did not find this function either in Dokan dashboard settings or those .php files, and the method to utilize this setting in developer document did not work. I wonder where this function is hiding?
-
This reply was modified 3 years, 9 months ago by
hector0371.
Hi @hector0371,
Scheduled disbursement withdrawal is a premium feature of the Dokan plugin.
According to ww.wp.xz.cn rules, commercial products are not supported in these forums.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Good reply.
@hector0371 You will need to contact the developer on their site for support.