Skip to content

Use Places API (New) for address autocomplete#13128

Draft
cttsai-stripe wants to merge 2 commits into
masterfrom
cttsai/autocomplete-new-places-api
Draft

Use Places API (New) for address autocomplete#13128
cttsai-stripe wants to merge 2 commits into
masterfrom
cttsai/autocomplete-new-places-api

Conversation

@cttsai-stripe

Copy link
Copy Markdown
Contributor

Summary

  • Switch from Places.initialize to Places.initializeWithNewPlacesApiEnabled to opt into the Places API (New)
  • Change autocomplete types filter from PlaceTypes.ADDRESS to PlaceTypes.STREET_ADDRESS for compatibility with the new API

Test plan

  • Verify address autocomplete still returns relevant suggestions
  • Confirm no regressions in the address element flow (PaymentSheet, AddressElement)
  • Test with various country filters

🤖 Generated with Claude Code

cttsai-stripe and others added 2 commits May 18, 2026 12:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
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