• Hello

    I was reading the developer documentation that Dokan provides, but I did not find the codes and hooks related to how dokan process order from WC and add those credit to dokan account; and the codes & hooks related to account credit transfer after a withdraw request is approved. Where to find those infcormation? Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    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.

    Thread Starter hector0371

    (@hector0371)

    @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

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    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.

    Thread Starter hector0371

    (@hector0371)

    @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?

    Thread Starter hector0371

    (@hector0371)

    @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 2 years, 7 months ago by hector0371.
    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @hector0371,

    Scheduled disbursement withdrawal is a premium feature of the Dokan plugin.

    According to www.remarpro.com 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Missing information in developer documentation’ is closed to new replies.