0

I'm using Magento 2.3.5, and for the virtual products in checkout page, when the email is empty and when selecting the payment method I'm getting the following message in attention modal:"%fieldName" is required. Enter and try again." in attention modal.

Error1

As I checked in network tab, the API "V1/guest-carts/:cart_id/set-payment-information" requires email and getting the following response: {"message":"\"%fieldName\" is required. Enter and try again.","parameters":{"fieldName":"email"}}

error2

How can I display the Email is required instead of "%fieldName" is required.?

Since I'm new to Magento, Can let me know what files to changed to avoid the issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.