WCMp bundle is available at a slashed price

Grab It Now

How to send commission to a vendor based on a variation

How to send commission to a vendor based on a variation2018-11-22T22:01:35+00:00

Home Support Forum Theme and Plugin Support How to send commission to a vendor based on a variation

Theme and Plugin Support

How to send commission to a vendor based on a variation Open

  • Author
    Posts
  • TroyEccles
    Participant
    Post count: 19

    Hi. I have a single woocommerce subscription product (virtual).
    Inside this product I have 3 different variations (based on location).
    Sydney
    Brisbane
    Melbourne

    How do I sent 100% of the product price of the “Brisbane” variation to the Brisbane vendor?
    I can see the VENDOR tab in the product section but I can’t figure out how to assign the vendor to that one variation.

    Any help gratefully received.

    Troy.

  • TroyEccles
    Participant
    Post count: 19

    Update: I’ve just noticed a “COMMISSION” field at the bottom of each variation. Questions:
    (a) do I need to use “%” symbol? Or just a number?
    (b) in the above case that I’ll be keeping all the money collected except for the variation “Brisbane”, do I just put 100 in each variation and 0 in “Brisbane”, then set the Vendor?
    (c) in the VENDOR tab, what do I set for the commission?

    Sorry…I hope I’m just being dumb. 🙂

    Troy.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, thanks for reaching WCMp Support!!

    Not to worry,we will help you out with your queries. Our replies are inline :

    (a) do I need to use “%” symbol? Or just a number?

    >> You just need to provide the number, no need to add the symbol.

    (b) in the above case that I’ll be keeping all the money collected except for the variation “Brisbane”, do I just put 100 in each variation and 0 in “Brisbane”, then set the Vendor?

    >> First, set the commission mode as “vendor” (this will ensure for whom you are configuring the commission). So, if you set vendor commission, then goto the variation tab and put 0 for a variation, where you want to earn 100% and add “0” for the variation where the vendor will earn.

    (c) in the VENDOR tab, what do I set for the commission?

    >> You can follow our document, this might help you out further – https://docs.google.com/document/d/1KJ0sA_4rx2zfw65X2eZ1Kx86C23D14Qgq3tFCn0hoIY/

    Let us know if you have any further query.

  • TroyEccles
    Participant
    Post count: 19

    Hi Moumita,

    Thank you so much for the rapid reply!
    One question though as I’m still a little confused. I now have it all set up properly as per your direction but you’ve said I should put 0 where I want to earn 100% and 0 where the vendor earns. They’re both zero (??).

    I’m assuming I put 0 for all the variations where the vendor is to earn nothing and 100 where they’re earning everything.

    Right?

    Thanks again!

    Troy.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, can you please share a screenshot of the WCMp >> Settings >> Payment page, so I can help you out according to that.

  • TroyEccles
    Participant
    Post count: 19

    Hi again.

    Screenshot attached.

  • TroyEccles
    Participant
    Post count: 19

    And the product variation screen…

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, as you have set the commission mode as “vendor commission”, so put 100 where you want to pay the vendor the full commission and 0 where you want to pay admin full commission i.e. vendor will get 0 commission.

  • TroyEccles
    Participant
    Post count: 19
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932
    This reply has been marked as private.
  • TroyEccles
    Participant
    Post count: 19

    Ok.I’ll try that. Thanks!
    I noticed there’s an option for “Direct Bank Transfer”. Can you walk me through how that works? Might be easier than using paypal.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, when you will be using Bank Transfer, the vendor will get the option to add the Bank Details via their storefront >> billing.

    Now, admin can see each vendor’s bank account details via WCMp >> Vendor and goto that vendor’s profile. Underpayment, you can see the details, so you can pay each vendor manually their commission.

    Once the commissions will be paid, goto WCMp >> commission and mark those commission as paid.

    Let us know if you have any further query.

  • TroyEccles
    Participant
    Post count: 19

    Ah, it’s manual? Ok, let’s forget that.
    Last question (I hope!): is the PayPal Client ID their Paypal username? And is the Client Secret the password or the API signature?

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, PayPal Client ID and Secret keys are different. This document might be able to help you out, on how you can generate that – https://developer.paypal.com/docs/integration/direct/webhooks/my-apps-and-credentials/#to-subscribe-your-listener-to-events

    Let us know if you have any further query.

  • TroyEccles
    Participant
    Post count: 19

    Update: I’ve added the API’s from my account into both the PayPal payout and PayMass areas. Still no good.
    The commissions are stuck on UNPAID.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, we checked the log of the plugin, here is the error shared by PayPal – “‘REQUIRED_SCOPE_MISSING’,
    message: ‘Access token does not have required scope’,
    information_link: ‘https://developer.paypal.com/webapps/developer/docs/api/#REQUIRED_SCOPE_MISSING’,”

    Can you please get in touch with PayPal on why they are sending this error message?

    Keep us posted also.

  • TroyEccles
    Participant
    Post count: 19

    PayPal seem a little confused and have asked if this is anything to do with “Adaptive Payments”.
    Is it?

    To remind you, we’re taking credit payments via Stripe and paying out via PayPal (the PayPal option we need doesn’t have the credit card facility we need). The API’s are in so that error is the only hurdle.

    PayPal are setting up “Adaptive Payments” but is this what’s required?

    I’m losing the will to live, if I’m honest.

    Help.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, not to worry. First, please ask PayPal, whether your account is eligible to use PayPal Masspay / PayPal Payout.

    After that, make sure you have generated the keys properly and also ask PayPal whether the keys are valid.

    Now, our system will only check the account details of the admin and corresponding vendor’s account details. Then if your PayPal has balance, the system will send vendor their commission. So, you need to just approve the account from Paypal to use either masspay / payout.

    Also, can you share PayPal’s response regarding the above error, so we can help you out further?

    Looking for your co-operation regarding the same.

  • TroyEccles
    Participant
    Post count: 19

    Update: Paypal HADN’T set up Payouts. They are saying that this is now done. However, the vendor’s commissions are still saying UNPAID. Any ideas? Can you see if it’s throwing an errors now?

  • TroyEccles
    Participant
    Post count: 19

    Note: we’re only looking at the bottom 2 orders (under the name “Eccles”). Ignore the top two orders for “Donald Trump”.
    Also, given that the “Donald Trump” order isn’t for any vendor (payments on this order belong to me), why is it showing up in the commissions section?

  • TroyEccles
    Participant
    Post count: 19

    Note 2 (sorry). To confirm that there ARE funds in my paypal account to pay this commission.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, We are getting this error now in our log file “name”:”SYNC_MODE_NOT_APPLICABLE”,”message”:”Synchronous mode will soon be deprecated and is no longer available for new integrations. You can use the asynchronous mode by specifying sync_mode= false in the request.”,”debug_id”:”41d3c060256e8″,”information_link”:”https:\/\/developer.paypal.com\/docs\/api\/payments.payouts-batch\/#errors”

    So, navigate to WCMp >> Settings >> Payment >> PayPal Payout and enable the option “Enable Asynchronous Mode”, then check the payout again.

    Keep us posted.

  • TroyEccles
    Participant
    Post count: 19

    Ok. I’ve done that. I’ll have to wait an hour as that’s the time that I’ve set. I’ll let you know.

    Thank YOU!!!!

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932
  • TroyEccles
    Participant
    Post count: 19

    Great news! It’s working.

    But it was only supposed to pay out $4 minus PayPal fees of 1.75%
    Instead, it’s paid out $4.70
    Huh???

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, We have checked your commission settings, you have set commission as Fixed 100 USD (see this scrrenshot – https://prnt.sc/luv2c8).

    Now, as per our logic, if the commission of the product is more than the product price, then we send the full product amount to the vendor.

    As the product cost is 6 USD total (see this scrrenshot – https://prnt.sc/luv1v4), hence vendor will get 6 – 1.31 (gateway charge) = 4.70 (see this screenshot – https://prnt.sc/luv2xj)

    Let us know if you have any further query.

  • TroyEccles
    Participant
    Post count: 19

    Ok, I thought the 100 was 100%.
    And only the top 2 were to be paid out (they’re set to 100, the other two are set to zero so why were they paid??)

  • TroyEccles
    Participant
    Post count: 19

    Looks like I had it set to $ not %.
    I’ve fixed that.

    But I’m still confused as to why the full amount for the 4 payments (minus fees) went to the vendor when only 2 payments should have gone to that vendor (it’s set at 100% for the “Brisbane” variation and 0% for the other variations.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, can you please share the order numbers we need to check.

    Waiting for your reply.

  • TroyEccles
    Participant
    Post count: 19

    Hi Moumita,

    So the “Brisbane” variation has to be paid in full (100% minus paypal fees) to the Vendor (called Brisbane).
    Every other variation belongs to me.

    Order#4384: $2 – Brisbane. To be paid to vendor.
    Order#4834: $2 – Brisbane. To be paid to vendor.
    Order#4994: $1 – Sydney. Not to be paid out.
    Order#5004: $1 – Sydney. Not to be paid out.

    As you’ve noticed, all of it was paid to the Brisbane vendor (minus the paypal fees).

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 932

    @troyeccles, can we do place some tests order in your site?

  • TroyEccles
    Participant
    Post count: 19

    By all means, please do. I need to get this sorted asap as we’re launching tomorrow.

    Thank you.

Please LOGIN to reply to this topic