Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      When someone uses an affiliate link to place an order, that order should be recorded as a referral on behalf of the affiliate.

      1. When someone uses an affiliate link, we must set a cookie on the user's browser to reference that affiliate
        • The referral link can be at /order/a/1234567/ where 1234567 is the affiliate ID
        • This cookie will be referenced on client signup and order completions in order to process affiliate referrals
      2. When an order is completed, the total cost (minus tax) should be used as the basis to determine the commission amount, and a referral should be created in the system

      Note: you cannot refer yourself for orders, so any cookie that would be created for visiting the affiliate URL on your own behalf should be ignored.

      1.
      Order: Affiliate Cookie Sub-task Closed Abdy Franco

      100%

      Original Estimate - Not Specified Original Estimate - Not Specified
      Time Spent - 5 hours, 47 minutes
       
      2.
      Order: Affiliate Referrals Sub-task Closed Unassigned

      100%

      Original Estimate - Not Specified Original Estimate - Not Specified
      Time Spent - 4 hours, 41 minutes
       

        Activity

        Hide
        admin Paul Phillips added a comment -

        How do we determine whether someone is using the affiliate URL to order for themselves? I think the simple solution is that the affiliate ID will be ignored if the account is the same as the one that the affiliate ID belongs. However, if someone creates a new account using the affiliate ID then it would apply, even if it's from the same IP address.

        Show
        admin Paul Phillips added a comment - How do we determine whether someone is using the affiliate URL to order for themselves? I think the simple solution is that the affiliate ID will be ignored if the account is the same as the one that the affiliate ID belongs. However, if someone creates a new account using the affiliate ID then it would apply, even if it's from the same IP address.
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Yeah, the affiliate ID cannot reference a user that is the logged-in user. If it does, we ignore any affiliate processing for the order.

        Show
        tyson Tyson Phillips (Inactive) added a comment - Yeah, the affiliate ID cannot reference a user that is the logged-in user. If it does, we ignore any affiliate processing for the order.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/May/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 3 hours, 15 minutes
              1d 3h 15m

                Agile