Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Give Commission to vendors only if order gets completed.

WCMp Core

Resolved
Viewing 16 reply threads
  • Author
    Posts
    • #123151
      jayaram558
      Participant

      Hi,

      I Just installed this plugin and testing it out for my requireents. I noticed that, on vendor dashboard, the total amout shows irrespective of the order status..

      Say I have the below orders

      Order1 – Completed – 300
      Order2 – Processing – 500
      Order3 – Completed – 500
      Order4 – waiting approval – 450 (Installed plugin for admin to approve orders for payments)

      So was getting confused how much the vendor will get paid. As per above, I need the vendor to get paid only for completed orders. i.e Order1 & order3 which will be 800.

      But in the vendor dashboard->stats->overview it shows as Total Sales = 1300 (i think its taking processing also into consideration)
      Dashboard->stats->Banking overview -> it shows Total credit & Ending balance as 1750 (Its taking all order status)

      I just want these both to be only for order Complete. Any other status should not show under the vendor earnings. How to achive this. Any settings to change?

      And if I setup Razorpay auto payments, how much the vendor will get paid.

    • #123168

      @jayaram558, once an order is placed WCMp will calculate the commission.
      Now we only pay those commissions whose order status is either processing or completed.
      But using custom code you can set commission can be paid for completed order only. ‘

      Do you have any developers with you, so we can help with the coding procedure?

    • #123351
      jayaram558
      Participant

      Hi,

      I know a bit of coding and WordPress, Can you please guide me witn the functions or snippets to achive this.

    • #123364
    • #123373
      jayaram558
      Participant

      I Added that code. but its not working. When the order is in process, I can see the commission earned.

    • #123393

      Hi,
      This https://multivendorx.com/support-forum/topic/automatic-pay-out-improvement-suggestion/#post-110423 is a tested code. By adding this code commission will only pay for complete order status. But this is only working for mass/ scheduled / automatic cron payemnt. Not work for manual/bulk payment. Can you please check once?
      Thanks

    • #123662
      jayaram558
      Participant

      Hi Raju,

      I used the same code to my functions.php file. But when the order is still in processing, in vendor dasboard, its showing as his commission.

      And banking section shows irrespective of order status..

    • #123688

      Hi,
      Can you please share your temporary admin and FTP access , so that we can debug on your site.
      also make it private

    • #123697
      jayaram558
      Participant
      This reply has been marked as private.
    • #123736
      This reply has been marked as private.
    • #124638
      jayaram558
      Participant

      Hi,

      Sorry I lost my profile details to login and i have created new account now.

      I will share the FTP details with you in my next message privately.

    • #124658
      jayaram558
      Participant

      Admin,

      Did you got my details in a private comment?


      @boatvid
      : I am still waiting for the solution.

    • #124640
      WCMp Admin
      Keymaster
      This reply has been marked as private.
    • #124684
      This reply has been marked as private.
    • #124639
      jayaram558
      Participant
      This reply has been marked as private.
    • #126255
      This reply has been marked as private.
    • #129917

      Hi, we haven’t heard back from you for a while. We presume this issue has been fixed.

      Please open another thread if you need any further help

Viewing 16 reply threads

The topic ‘Give Commission to vendors only if order gets completed.’ is closed to new replies.