tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
3.04k stars 997 forks source link

Delivery area not validated in Checkout #421

Closed brandonjbegle closed 4 years ago

brandonjbegle commented 4 years ago

Expected behavior: If user doesn't type in the same address as they did on the View Menu page validation, it should be revalidated with the delivery area and denied if not valid.

Actual behavior: New address is not validated, checkout is allowed to proceed.

Reproduce steps: With 'Require Location To Order setting enabled, attempt to order from Menu. The application will ask the user to validate their address. After that address is validated, the user will click the checkout button and proceed to the payment screen. On this screen, the user can select a previously entered address or enter a new one. The new address they enter does not have to be the same as the previous screen. Regardless of if the new address entered falls within the delivery areas specified, the order is allowed to proceed.

Version: v3.0.4-beta.20.1

sampoyigi commented 4 years ago

Fixed here https://github.com/tastyigniter/ti-ext-cart/commit/99c987a2eeab06b084786a0424a5985124adb0f2