Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

Brief Description

This technical refinement is aimed at the need for a new option so that the value of the service fee can be added or removed in the value of crown coins when finalizing the customer's order, this option will be included within sanity where there will be a way to activate or disable this calculation.

...

The first validation we need to do is to know if this feature flag has been enabled, it is responsible for enabling the service fee calculation in the user's request. If this feature flag is enableddisabled, no fee calculation will be calculated.

...

The final result of sanity screen is to be equal below, can be found at this link

...

Tests

Scenarios

Scenarios

Description

Sum

The business want to calculate tax and service fee

This sum will be based on the values ​​obtained in sanity, for this, the subtotal, tax and service fee options must be activated.

Crown Coins = Subtotal + Tax + Service Fee

The business want to calculate only service fee

This sum will be based on the values ​​obtained in sanity, for this, only subtotal and service fee options must be activated.

Crown Coins = Subtotal + Service Fee

The business will include the full price

This sum will be based on the values ​​obtained in sanity, for this, all options must be activated

Crown Coins = Subtotal + Tax + Delivery Fee + Service Fee

The business will not include the full price

This sum will be based on the values ​​obtained in sanity, for this, only subtotal option must be activated.

Crown Coins = Subtotal

The business will not give crown coins

This sum is equal to 0 and will be based on the values ​​obtained in sanity, for this all options must be deactivated

Crown Coins = 0

DMP Process

To carry out the test, you must have access to the development environment DMP so that it is possible to change the order to the dropped off status, because loyalty calculations will only be calculated after the order is delivered and confirmed by the DMP. For PLK ES you can use this link: https://euw3-dev-plk-exp-tablet.com.rbi.tools/orders-management

...