Skip to content

Add state dropdown for Brazil#6296

Merged
joyceqin-stripe merged 2 commits into
masterfrom
joyceqin/br-state-only
Apr 3, 2026
Merged

Add state dropdown for Brazil#6296
joyceqin-stripe merged 2 commits into
masterfrom
joyceqin/br-state-only

Conversation

@joyceqin-stripe

@joyceqin-stripe joyceqin-stripe commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add state dropdown for Brazil using data from https://stripe.sourcegraphcloud.com/r/stripe-internal/mint/-/blob/pay-server/stripe-js-v3/src/lib/hostedPaymentUi/components/AddressInput/addressData.ts

Ideally, the address improvements project should make it so that we will no longer be reliant on hard-coded client-side address specs, but this is a fix for now.

Motivation

Boleto billing address validation returns an error when the state is spelled out instead of the 2-letter code.
Boleto seems to be the only payment method with this kind of validation: https://stripe.sourcegraphcloud.com/deepsearch/1a607139-2a10-4dbc-baa3-47f67cc505f4

https://jira.corp.stripe.com/browse/RUN_MOBILESDK-5287

Testing

Updated test

Changelog

  • [Added] Added state dropdown support for BR.

@joyceqin-stripe joyceqin-stripe marked this pull request as ready for review April 3, 2026 20:42
@joyceqin-stripe joyceqin-stripe requested review from a team as code owners April 3, 2026 20:42
@joyceqin-stripe joyceqin-stripe enabled auto-merge (squash) April 3, 2026 20:59
@joyceqin-stripe joyceqin-stripe merged commit 14bce36 into master Apr 3, 2026
7 checks passed
@joyceqin-stripe joyceqin-stripe deleted the joyceqin/br-state-only branch April 3, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants