Development
Feature Flags
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 enabled, no fee calculation will be calculated.
enable-get-fees-and-discount-by-brand
Code Changes
Tests
Possible Issues
Delivery Fee and Final Order value
When I did some tests in development I noticed that some values did not match correctly with the final order value. For example, in the case of the Delivery Fee, the value is set to zero, but in the database it had a value of 2.99. This can create some confusion when carrying out some tests related to the amount of value that the user can receive from crown coins.
0 Comments