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

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Story Points 5
        tyson Tyson Phillips (Inactive) made changes -
        Epic Link CORE-3356 [ 14585 ]
        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.
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.9.0 Sprint 7 [ 105 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.10.0-b1 [ 11305 ]
        Fix Version/s 4.9.0-b1 [ 11301 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.10.0 Sprint 1 [ 105 ] 4.10.0 Sprint 2 [ 106 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.10.0 Sprint 2 [ 106 ] 4.10.0 Sprint 1 [ 105 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Assignee Abdy Franco [ abdy ]
        Automated transition triggered when Abdy Franco created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Abdy Franco created pull request #137 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 47 minutes [ 2820 ]
        Worklog Id 13513 [ 13513 ]
        Automated transition triggered when Jonathan Reissmueller merged pull request #137 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]
        abdy Abdy Franco made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        abdy Abdy Franco made changes -
        Security Private [ 10000 ]
        abdy Abdy Franco made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          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