Symptom: in the address form and the suggestions, the street number is placed before the street name, even for countries where the order is the reverse. Example for Italy: "3 V ROMA" instead of "V ROMA 3".
Affected versions: 1.0.0.
Cause
In version 1.0.0, the cartridge always builds the first address line with the number in front of the street name, regardless of the country. The suggestion label follows the same logic, unless the DQE API returns its own label, in which case that label is displayed.
The first address line filled in after a suggestion is selected therefore has the number-first order. It is also sent as is to the RNVP validation.
Solution
- A later version of the cartridge adapts the order to the country. Contact DQE support to get its availability.
- In the meantime, a customisation of how your site builds the address line and the suggestion label for the countries concerned is possible. Contact DQE support for guidance.
Verification
- In checkout, enter an address from an affected country (for example Italy) and check the text of the suggestions.
- After selecting a suggestion, check the value of the first address line field.
- In the
dqe-addresslog, check the street name and number returned by the SINGLEV service to determine whether the order comes from the cartridge or from the API.
Related to