Front-end
...
As result, zeroed fees are being set. See cloud watch logs from lambda function.
...
*The quotedFee comes from partners. In Iberia, it comes from DMP, aka: intl-partners-delivery. But it depends on the market. DMP also uses launchdarkly to calculate the fee. It doesn’t get the other fees.
Proposal:
Enhance this lambda function (dev-plk-delivery-on-apply-quote) to not overwrite existing fee values with zeroes.
Configure launchdarkly to fit business needs enabling FE to show fees and discounts properly.
discount <> 0
serviceFee <> 0
fee <> 0
...