Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Issue

...

Issue Title

...

Market

...

Service mode

...

Status

...

IREQ-2316

...

PLK ES - Delivery unavailable message is not displayed and the payment confirmation keeps in looping

...

PLK ES

...

Delivery

...

TRX-2898

...

[BK PT] Payments are in an infinite loop

...

BK PT

...

Delivery

...

IREQ-2528

...

PLK ES Stg - Unable to place delivery orders at store #7777

...

PLK ES

...

Delivery

...

IREQ-2725

PLK ES - "Complete all delivery details" message is being displayed after trying to pay with voucher payment methods

...

PLK ES

...

Title: The reduced area message is not displayed to the user

Markets: PLK ES, BK PT and BK ES

Description:

Context:
Besides the "Pause the Delivery Service" where we display a friendly message on a modal explaining the reason the delivery is paused at that moment, we also have the "Reduced area feature". 
This feature is similar to paused delivery service, we display a specific message to inform the user that the restaurant had the delivery area reduced and as soon the restaurant will back to the regular area.

This feature is working fine in two current transitions:

  • The restaurant has the area reduced and the user accesses the store locator page, goes to the delivery tab, and enters the delivery address which is out of the reduced area. The modal message is displayed.

  • The user already has entered the delivery address that is out of the reduced area and is on the menu page. The restaurant has the area reduced and when the user goes to the cart page, the modal message is displayed too.

However, we have more transitions and this feature is not working, the message is not displayed, and if the user will stay in infinite loading if he/she tries to confirm the payment.

So we have to fix this on these transitions:

  • The user is already on the cart. The restaurant has the area reduced. The user goes to the payment screen. The reduced area modal message must be displayed on the payment screen.

  • The user is already on the payment screen. The restaurant has the area reduced.  The user tries to confirm the payment. The reduced area modal message must be displayed and the payment must not be confirmed.

Pre-analysis: The developers of the Iberia dedicated team had done a pre-analysis to help and identified that on these transitions Whitelabel is getting the "LON" and "LAT" of the Local Storage, but these values refers the restaurant address and not the "LON" and "LAT" from the delivery address provided by user, this way the modal never will be displayed because we compare the address informed by the user to the reduced area.

ID

Scenario

Expected result

Current result

1

The restaurant has the area reduced. The user accesses the store locator page and goes to the delivery tab. When enters the delivery address out of the reduced area:

The reduced area message must be displayed.

Passed

2

The user already has entered the delivery address out of the reduced area and is on the menu page. The restaurant has the area reduced. When the user goes to the cart page:

The reduced area message must be displayed.

Passed

3

The user is already on the cart with a delivery address out of the reduced area. The restaurant has the area reduced. When the user goes to the payment page:

The reduced area message must be displayed.

Failed

The reduced area message is NOT displayed.

If the user reloads the page, the message is displayed.

4

The user is already on the payment page with a delivery address out of the reduced area. The restaurant has the area reduced. When the user goes to confirm the payment:

The reduced area message must be displayed and the payment must not be confirmed.

Failed

The reduced area message is NOT displayed and the user is kept on the infinite loading payment.

If the user reloads the page, the message is displayed.