...
Add a new field in LaunchDarkly to store the discount value. The field will be named serviceFeeDiscount
with a value of N cents that will discount the calculated serviceFee
by that amount in cents.
A second new field will be added in LaunchDarkly named serviceFee
that if populated will override the calculation previously used the calculate the serviceFee
. After reviewing the code this feature already exists. As long as serviceFeePercent
is null or 0 the value used will be the value stored in serviceFee
.
Technical Solution
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Sequence diagram of solution flow
...
Note that the proposed changes have synergy with the refinement to show the service fees in DMP: Feature - Show delivery fees in DMP
Detailed flow
...
Simplified flow
...