Skip to content

Wire inline address autocomplete into billing address fields for Payment Sheet and Flow Controller.#13329

Closed
nidhi-stripe wants to merge 2 commits into
masterfrom
nidhig/address-inline-autocomplete-billing-integration
Closed

Wire inline address autocomplete into billing address fields for Payment Sheet and Flow Controller.#13329
nidhi-stripe wants to merge 2 commits into
masterfrom
nidhig/address-inline-autocomplete-billing-integration

Conversation

@nidhi-stripe

@nidhi-stripe nidhi-stripe commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

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

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

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)

@nidhi-stripe nidhi-stripe force-pushed the nidhig/address-inline-autocomplete-billing-integration branch from 824ad47 to 2e8a2de Compare July 1, 2026 17:00
@nidhi-stripe nidhi-stripe force-pushed the nidhig/address-inline-autocomplete-billing-integration branch from 17e9172 to 29a310b Compare July 1, 2026 18:01
@nidhi-stripe nidhi-stripe requested review from toluo-stripe and removed request for toluo-stripe July 1, 2026 18:20
@nidhi-stripe nidhi-stripe deleted the nidhig/address-inline-autocomplete-billing-integration branch July 7, 2026 17:40
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.

1 participant