State or province required error when updating an address
Issue
When you try to update an address in Recharge, you will get a province/state required error if Recharge requires this field.
In North America, shipping typically requires a state or province, but in some countries, mailing is optional. Address field discrepancies can arise between Shopify and Recharge when the Google address API removes the state/province field and returns an empty value to Recharge.
Environment
- Shopify Checkout Integration
- Migrated Shopify Checkout Integration
Resolution
To update the address, follow these instructions in the Recharge merchant or customer portal:
- Select the correct province or state from the dropdown field.
- Save the changes to apply the updated address.
- Ensure that the state or province field is not left blank to avoid errors. If you are unsure what is correct, do a web search of the address to determine the correct state or province.
Some states or provinces may have alternative names. For example:
| German State Name (Recharge options) | English Alternative name |
|---|---|
| Baden-Württemberg | |
| Bayern | Bavaria |
| Berlin | |
| Brandenburg | |
| Bremen | |
| Hamburg | |
| Hessen | |
| Mecklenburg-Vorpommern | |
| Niedersachsen | Lower Saxony |
| Nordrhein-Westfalen (North Rhine-Westphalia) | North Rhine-Westphalia |
| Rheinland-Pfalz (Rhineland-Palatinate) | Rhineland-Palatinate |
| Saarland | |
| Sachsen | Saxony |
| Sachsen-Anhalt (Saxony-Anhalt) | Saxony-Anhalt |
| Schleswig-Holstein | |
| Thüringen | Thuringia |
