Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  • SNS: dev-plk-delivery-quote-outcome

    • SQS: aws-rbi-dev-plk-apply-delivery-service-quote

      • Lambda: sls-rbi-dev-plk-orders-delivery-service-apply-quote ( intl-orders-service)

        • Which get the message and updates the current order in the database (dynamodb)

...

BE Proposal

  • Enhance this lambda function (dev-plk-delivery-on-apply-quote) to not overwrite discount and service fees with zeroes. It should keep the value from launchdarkly.

  • Configure launchdarkly to fit business needs enabling FE to show fees and discounts properly.

    • discount <> 0

    • serviceFee <> 0

    • fee <> 0

Lucidchart
pages
pageCount1
autoUpdatefalse
alignleft
typerich
alignleft
autoSize1
macroId676d3a59-c584-4c18-883a-4170ecca3358
instanceId920ae5b1-83d6-3e36-b794-1710780f64f3
pages
width700documentId078ef0e7-5034-4e83-a1ff-a31bb14dda99
documentTokenv2_a14568386f6935b40621989bae5a6103e7e06649d9381712b6ad0cb391a44874-a=133831322&c=920ae5b1-83d6-3e36-b794-1710780f64f3&d=078ef0e7-5034-4e83-a1ff-a31bb14dda99&p=4387570600
documentId078ef0e7-5034-4e83-a1ff-a31bb14dda99
updated1703260480589
height500

Proposal validation with transactions team:

https://rbidigital.slack.com/archives/C04D0V74P0D/p1702672116251489

...

Note

Note: The calls to the BE in priceOrder is being executed through intl-gateway

...

-service in the envs (enable-fulfillment-service-price-order = true) for Iberia Prod markets. Since in both flows (gateway and graphql) the impact is in intl-delivery-service, no major issues may be found with intl-whitelabel-graphql, but a double check plus tests are needed to ensure no major issues.

Proposal validation with transactions team:

https://

...

rbidigital.

...

slack.com/

...

archives/C04D0V74P0D/p1702672116251489

FE impacts

When discount, fee and service fee come to FE, intl-whitelabel-app can be changed to display FREE fees as according to UX (figma). The design screens should be adapted to consider them accordingly. In such case, depending on the launchdarkly config ( fee tier), we may have a different value for fee, service and discount. In principle, to minimize BE impacts, we may continue using a single field for discount. It’s up to the FE display "FREE” for the related use-cases. E.g:

...