Wire inline address autocomplete into billing address fields for Payment Sheet and Flow Controller.#13329
Closed
nidhi-stripe wants to merge 2 commits into
Closed
Conversation
Committed-By-Agent: claude
824ad47 to
2e8a2de
Compare
17e9172 to
29a310b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wire inline address autocomplete into billing address fields for Payment Sheet and Flow Controller.
When the feature flag is on and a Google Places API key is configured, users see an inline prediction dropdown under the billing address field instead of only the full-screen Places launcher.
Motivation
Inline address autocomplete was previously implemented for the standalone Address Element and extracted into a reusable InlineAutocompleteController in #13306. Payment Sheet billing address fields still passed autocompleteAddressInteractorFactory = null into CardBillingAddressElement, so billing address collection did not benefit from inline predictions even when the feature flag was enabled. This change builds on the shared InlineAutocompleteController from #13306 and connects it to Payment Sheet billing address via the existing AutocompleteAddressInteractor factory pattern, so inline predictions appear directly under the billing address field.
Testing
Screenshots
Changelog
Gated by feature flag:
New card entry (Payment Sheet complete flow + Flow Controller add-payment-method UI)
Edit/update saved card billing address (Payment Sheet manage payment methods flow)