Skip to content

Add prefer form to embedded Payment Element - #14359

Draft
jaynewstrom-stripe wants to merge 1 commit into
masterfrom
codex/prefer-form-embedded-payment-element
Draft

Add prefer form to embedded Payment Element#14359
jaynewstrom-stripe wants to merge 1 commit into
masterfrom
codex/prefer-form-embedded-payment-element

Conversation

@jaynewstrom-stripe

Copy link
Copy Markdown
Collaborator

Summary

Adds a preferred-form experience for the embedded Payment Element. It renders the selected payment-method form inline, provides a “More payment methods” footer, and preserves selection/validation behavior when moving into the payment-options sheet.

Motivation

Embedded integrations using the PreferForm layout need to prioritize the selected payment-method form while retaining access to saved and alternative payment methods.

Testing

  • Added tests
  • Modified tests
  • Manually verified

Ran ./gradlew detekt successfully.

Screenshots

Added Paparazzi snapshots for the More payment methods footer in light/dark themes and default/large fonts.

Changelog

Not applicable: this is internal PreferForm support and does not add a new public API.

Committed and created by Codex.

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant