Closed mam08ixo closed 4 years ago
Region ID is not properly determined when the Faker address has a province property (instead of the more common state).
province
state
For CA addresses, the QuoteValidator then throws a LocalizedException when using the OrderBuilder:
QuoteValidator
LocalizedException
Please check the shipping address information. "regionId" is required. Enter and try again.
This change attempts to read province first and falls back to state if the former is not set.
Note: This builds upon #41 and has to be merged thereafter.
Thank you!
Region ID is not properly determined when the Faker address has a
province
property (instead of the more commonstate
).For CA addresses, the
QuoteValidator
then throws aLocalizedException
when using the OrderBuilder:This change attempts to read
province
first and falls back tostate
if the former is not set.Note: This builds upon #41 and has to be merged thereafter.