Skip to content

Commit

Permalink
Update expected Mexican phone number format (#7635)
Browse files Browse the repository at this point in the history
* Update expected Mexican phone number format

* Add note in changelog

* Switch to different format
  • Loading branch information
tillh-stripe authored Nov 15, 2023
1 parent 68e47ef commit cd5672a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### PaymentSheet
* [FIXED][7584](https://github.com/stripe/stripe-android/pull/7584) Fixed an issue where PaymentSheet would render with a lightened surface color in dark mode.
* [FIXED][7635](https://github.com/stripe/stripe-android/pull/7635) Fixed an issue where PaymentSheet wouldn't accept valid Mexican phone numbers.

## 20.34.4 - 2023-11-02

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ internal sealed class PhoneNumberFormatter {
"PM" to Metadata(prefix = "+508", regionCode = "PM", pattern = "## ## ##"),
"HT" to Metadata(prefix = "+509", regionCode = "HT", pattern = "## ## ####"),
"PE" to Metadata(prefix = "+51", regionCode = "PE", pattern = "### ### ###"),
"MX" to Metadata(prefix = "+52", regionCode = "MX", pattern = "### ### ### ####"),
"MX" to Metadata(prefix = "+52", regionCode = "MX", pattern = "### ### ####"),
"CY" to Metadata(prefix = "+537", regionCode = "CY", pattern = ""),
"AR" to Metadata(prefix = "+54", regionCode = "AR", pattern = "## ##-####-####"),
"BR" to Metadata(prefix = "+55", regionCode = "BR", pattern = "## #####-####"),
Expand Down

0 comments on commit cd5672a

Please sign in to comment.