Street address cannot contain more than 2 lines — payment page
-
15-04-2021 - |
Question
I changed shipping street address values 2 in the admin panel. Now I can't place order only for logged in users. It's working fine for not logged in user.
If I changed it into 3 lines of the street it's working fine.But not working for 2 lines.
for more details : https://github.com/magento/magento2/issues/13766
Kindly help me.
advance thanks
Solution
If an existing customer has 3 street address line when our customer configuration street line number 3, then we change the configuration and those customers getting this error. To delete the existing street address and add a new address.
OTHER TIPS
Better option is to convert 3 line street data to single line then update the config.
Hope this below query helps
To check
select entity_id, street, replace(street,'\n',',') as street_new from customer_address_entity;
To update
update customer_address_entity set street = replace(street,'\n',',');