Skip to content

[Bug] The checkout page. Incorrect email.

Preconditions and environment

Module: hyva-themes/magento2-hyva-checkout v1.1.23

composer.lock

Steps to reproduce

  1. Add an item to the cart.
  2. Open the checkout page.
  3. Enter a correct email in the email field.
  4. Fill in all the required fields to continue and complete the checkout process.
  5. Click the "Checkout" button.

Expected result

The checkout process should be completed successfully.

Actual result

An error occurs: "Your email is incorrect."

Additional information

In older versions of this module, the checkout process works correctly. However, in the latest version, the relevant code was removed.

Old Version: hyva-themes/magento2-hyva-checkout v1.1.10

Relevant Code (from v1.1.10):

vendor/hyva-themes/magento2-hyva-checkout/src/Model/Form/EntityFormSaveService/EavAttributeShippingAddress.php:102 vendor/hyva-themes/magento2-hyva-checkout/src/Model/Form/EntityFormSaveService/EavAttributeBillingAddress.php:100

 if (isset($data[QuoteAddressInterface::KEY_EMAIL])) {
                $quote->setCustomerEmail($data[QuoteAddressInterface::KEY_EMAIL]);
            }
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information