City may be empty in the order (this depends if the customer inputs the city in the Amazon address, it's not required for JP)
Last name filled with "." (this also depends if the user inputs the fullname without spaces, like テストアマゾン, "." is the fallback, since last name is required for WC compatibility purposes)
Proposed fix:
Use "-" instead of "." as a filler
Improve detection of the Prefecture, using the same snippet than Stripe
Rel card: https://app.clickup.com/t/85zu3b9q8
Reported issue:
テストアマゾン
, "." is the fallback, since last name is required for WC compatibility purposes)Proposed fix: