-
Notifications
You must be signed in to change notification settings - Fork 217
Add state code mapping for Ukraine regions #4695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds state code mappings for Ukrainian regions to support Stripe payment request buttons. The implementation maps Ukrainian regional names (in English and Ukrainian) to their corresponding ISO 3166-2 subdivision codes.
- Adds complete mapping for all Ukrainian oblasts and cities with their ISO codes
- Updates changelog entries to document the fix
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
includes/constants/class-wc-stripe-payment-request-button-states.php | Adds comprehensive Ukrainian state mapping with regional codes and names in multiple languages |
readme.txt | Documents the Ukraine state mapping fix in the changelog |
changelog.txt | Documents the Ukraine state mapping fix in the changelog |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Fixes STRIPE-726
Fixes #4691
Changes proposed in this Pull Request:
This PR extends the current state mapping to add the mappings for the Ukrainian regions (ex:
Kyiv
->UA-30
).Testing instructions
Changelog entry
Changelog Entry Comment
Comment
Post merge