Commissions on coupon discount appears to not adjust rate.

Hi, I am using Woo Commerce

I have two sets of products:
1: A digital download
2: A subscription service

Set up as follows:
–Digital download Referral Rate set to 0.25
–Subscription service Referral Rate set to 0.25 (Enable recurring referrals limit/timeout 90 days)

–Default referral calculation = Referral amount method
–Default referral calculation value = Affilaite_WC_Method::product_rates

Upon testing, all is working fine except in the case of Promo Code where the affiliate commission generated is 25% of the pre coupon amount.

An example would be that a 50% off coupon code on a £100 product is allowing the customer to pay £50 for the product but is giving the affiliate £25 commission (instead of £12.5).

My coupons are set up as follow:

–Discount type = Cart % Discount
–Coupon amount = 50

I hope it is something I am doing wrong!

Regards, Lee


Comments

17 responses to “Commissions on coupon discount appears to not adjust rate.”

  1. clemens@xpozer.com Avatar
    clemens@xpozer.com

    Hi,

    I’ve a question about the VAT on discount and the affiliate fee. I don’t understand the calculation behind it. I used the following paramaters:

    – Coupon discount%= 25%
    – VAT = 21%
    – product price = 59euro incl. VAT
    – referral rate = 0.2 (20%)

    1. ——— answer according to the system ——-

    (product price ex. VAT)-(product price incl. VAT * coupon discount%)*referral rate = affiliate fee

    [(59/1,21)-(59*0.25)]*0.2= 6.80 euro

    2. ——— answer which I have ——-

    (product price ex. VAT)-(product price ex. VAT * coupon discount%)*referral rate = affiliate fee

    [(59/1,21)-(59/1,21*0.25)]*0.2= 7.31 euro

    My questions are:

    1. Why does the system take the coupon discount of the product price including VAT and not ex. VAT?
    2. If I want to have the system to have my answer of 7.31 euro. What paramater do I have to fill in or adjust?

    Hopefully you can answer my questions!

    1. Hi,
      when you create a woocommerce coupon, you can select apply it before/after taxes (“Apply before tax” in Woocommerce->Coupons).
      cheers

  2. Oh ok i see, thanks will work it out based on that then

  3. Thanks, but why would it do that? Isn’t the point of the coupon that the affiliate get that rewarded to his account?

    1. Hi,
      for example:
      If you setup 5% of commissions, and affiliateA has a coupon of 10%,
      he can offer to visitors a discount of 10% if they use her coupon, but he only receives 5% of commission.
      cheers

  4. hi, having a similar issue. I have set coupons to 3% with the code isawamb.

    I did a test purchase on http://www.isawafrica.co.za/product/motorsport-suction-cups/ which gives R11.25 off the amount, yet in the backend, the affiliate only got R10.91?

    1. Hi,
      the commission is calculated considering the discounts. In your case: 375 (product price) – 11.25 (discount) = 363.75 * 0.03 = 10.91
      cheers

  5. leemayne Avatar
    leemayne

    Hi Kento,

    I seem to be getting double commissions now

    1 At the % of the pre coupon price and
    1 at the correct % of the discounted price.

    The user in this case actually aborted the cart then went back and did it again, So I will wait for another sale to test if it is happening with every purchase.

    1. antonio Avatar
      antonio

      Hi,
      We are testing it and it seems that it works well.
      Maybe it twice purchase order has been the problem.

      If you re-occurs, please let us know, your feedback is welcome.

      cheers

  6. FYI The update has just been released (you only need to update the integration plugin). Please let me know if you have any further questions on it or need help.

    1. leemayne Avatar
      leemayne

      Thank you Kento that is brilliant, I will let you know that it’s all working OK.

      1. That would be great, thanks Lee!

  7. leemayne Avatar
    leemayne

    Hi Kento,

    Did you manage to work out a fix for this ?

    Regards, Lee

    1. Hi Lee,

      Yes, I’m already preparing an update which will be released today if all testing goes well.

      Cheers

  8. leemayne Avatar
    leemayne

    Thanks Kento,

    Just for you information I have tried the coupon setting
    Cart % Discount and Product % Discount

    Both have the same effect. Cheers, Lee

    1. Thanks Lee, yes that’s in line with what I expected.

  9. Hi Lee,

    Thanks for the detailed info about the setup, judging from that all is set up correctly. I think the issue is rather related to how that method is calculating the commissions when a product rate is set.

    Let me check that and update it if needed so that the case you have explained will work as expected.

Share