HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
68 stars 55 forks source link

SI: Email Validation Could be Improved #421

Closed mtrutledge closed 1 year ago

mtrutledge commented 1 year ago

Describe the bug

We had a user attempting to place an order on our site with a email address similar to the following: mXX09871223_@example.com

Once she clicked to checkout she was told the email was invalid. She had already created a user in our system with that email address and was logged in. This is a weird email address, but it is still valid.

Software Versions

To Reproduce

Steps to reproduce the behavior:

  1. Add items to the cart
  2. Go to checkout
  3. Try checking out as guest and enter email address mXX09871223_@example.com
  4. Hotcakes will stop the order and let the user know they need to enter a valid email address

Expected behavior

This email address should be considered valid and the order should be placed.

Actual behavior

The user was shown an error saying the email address was invalid.