Split commission for vendors.

MultivendorX Pro

Resolved
Viewing 16 reply threads
  • Author
    Posts
    • #192473
      Rishi Thakker
      Participant

      On my site, I need split commission functionality for vendors.

      1. A vendor published a product with a price of $100.
      2. Then admin can assign vendor B for that particular product.
      3. Now there are 2 vendors A and B in the product.
      4. Admin can decide on commission in percentage for both sellers like A and B (A = 50%, B = 30%) and admin will keep from that 20%.
      5. Customer will purchase that product after that both vendors and admin can able to get that commission.
      6. On both vendor dashboards they can able see the order with that commission. also, the admin can see those details on the admin dashboard.

      It’s possible to display suborder on both vendor’s dashboards?

    • #192503

      Hi @Rishi Thakker, by default each product can have only one author i.e. vendor
      That how that vendor earns money from selling that product.

      But the flow you are looking for, where you want to give commission to two vendors for a product, requires custom code.
      please note this requires a huge amount of custom code.

    • #192881
      Rishi Thakker
      Participant

      I have added some static code for split vendor payment in MVX pro.
      I have added one extra array distribution_list of the second vendor like this https://www.screenpresso.com/=bjJJb
      Now I Need to generate a stripe token to create this payment I have reviewed the code and I was getting that the token was generated in $_POST so how can add one more value to the stripe_token?
      Can you please guide me on generating the stripe token, so I can add it to the code?
      You can also review this video for a better understanding https://www.screenpresso.com/=n2wFb

    • #192891
      This reply has been marked as private.
    • #192915
      Rishi Thakker
      Participant
      This reply has been marked as private.
    • #192945

      Rishi, our team is looking into this.
      Kindly provide them some time.

    • #192975

      Hi,
      You can check our javascript code. Token codes are in the javascript file
      Thanks

    • #192872
      Rishi Thakker
      Participant
      This reply has been marked as private.
    • #192874
      Rishi Thakker
      Participant

      I have added some static code for split vendor payment in MVX pro.
      I have added one extra array distribution_list of the second vendor like this https://www.screenpresso.com/=bjJJb.
      Now I need to generate a stripe token to create this payment I have reviewed the code and I was getting that the token was generated in $_POST so how can add one more value to the stripe_token?
      Can you please guide me on generating the stripe token so I can add it to the code?
      You can also review this video for a better understanding https://www.screenpresso.com/=n2wFb.

    • #193104
      Rishi Thakker
      Participant

      I got the flow that how it’s working now I am stuck here How can I generate Commission ID for another vendor?
      If we are able to generate the commission Id and its meta like commission amount, order, etc. so we can split that commission to another vendor and give it to them.
      If you guide how can I generate commission data for another vendor like https://www.screenpresso.com/=qSURb that will be great to achieve over functionality.
      Thanks!

    • #193119

      @Rishi Thakker, the team will guide you with the coding procedure.
      Provide them some time.

    • #193148
    • #193218
      Rishi Thakker
      Participant

      Can you please guide me to where this suborder is created?
      Screenshot: https://www.screenpresso.com/=tXmNb

    • #193258
    • #193300
      Rishi Thakker
      Participant

      I am getting all multiple vendor’s data where you distribute the payment for vendor and admin now I am stuck on that I want to distribute that payment to all vendors according to my data.
      Please review this video for more information I have explained in detail: https://www.screenpresso.com/=8UKKb
      Please give me some guidance on that so I can complete this functionality on my site.
      Thank you!

    • #193322

      Hi,
      There is no ready-made code.
      You can follow https://github.com/multivendorx/MultiVendorX/blob/main/classes/class-mvx-cron-job.php#L94 this link for reference.
      Thanks

    • #195527

      Its been a while and we have not heard back from you. We presume your issue is fixed now. We are closing this thread. If you need help or face issue in future please open a new thread.

Viewing 16 reply threads

The topic ‘Split commission for vendors.’ is closed to new replies.