Description
This PR addresses some issues in the integrated checkout flow and in the Security section of the Preferences dialog.
Integrated Checkout:
- The coupon code is now correctly preserved even when updating the country and postal code. Previously, when recalculating prices due to a mismatch between the user’s initial location and the updated shipping address, the discount was removed, leading to user confusion.
- When a coupon discount exceeds the product price, the final amount is now correctly shown as €0, instead of displaying the full price alongside a negative “Amount to pay now”.
Preferences Dialog (Security):
- When entering a password, the user can now toggle visibility using the “eye” icon without the dialog closing unexpectedly.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed