Details
Description
When someone uses an affiliate link to place an order, that order should be recorded as a referral on behalf of the affiliate.
- 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
- 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 | ![]() |
Closed | Abdy Franco |
|
||||||||
2. |
Order: Affiliate Referrals | ![]() |
Closed | Unassigned |
|
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Story Points | 5 |
Epic Link |
|
Sprint | 4.9.0 Sprint 7 [ 105 ] |
Fix Version/s | 4.10.0-b1 [ 11305 ] | |
Fix Version/s | 4.9.0-b1 [ 11301 ] |
Sprint | 4.10.0 Sprint 1 [ 105 ] | 4.10.0 Sprint 2 [ 106 ] |
Sprint | 4.10.0 Sprint 2 [ 106 ] | 4.10.0 Sprint 1 [ 105 ] |
Rank | Ranked lower |
Assignee | Abdy Franco [ abdy ] |

Status | Open [ 1 ] | In Progress [ 3 ] |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 47 minutes [ 2820 ] | |
Worklog Id | 13513 [ 13513 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Security | Private [ 10000 ] |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
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.