Skip to content

Add expressCheckoutElement to checkout package 🪿✨#13394

Merged
amk-stripe merged 2 commits into
masterfrom
express-checkout-element-checkout-package
Jul 10, 2026
Merged

Add expressCheckoutElement to checkout package 🪿✨#13394
amk-stripe merged 2 commits into
masterfrom
express-checkout-element-checkout-package

Conversation

@amk-stripe

@amk-stripe amk-stripe commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Minion run

Summary

Added ExpressCheckoutElement to the checkout package, matching the existing ShippingAddressElement API shape while storing wallet button visibility configuration. CheckoutController.Configuration and CheckoutPresenter now expose expressCheckoutElement alongside shippingAddressElement.

Motivation

Set up scaffolding for ECE

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
N/A N/A

Changelog

No changelog entry added.

Mirror the shipping address element shape so checkout integrations can configure
and access express checkout consistently while implementation remains pending.
Store wallet button visibility in config rather than address-specific settings.

Committed-By-Agent: goose
Comment on lines +20 to +21
private var visibility: PaymentSheet.WalletButtonsConfiguration.Visibility =
PaymentSheet.WalletButtonsConfiguration.Visibility()

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we won't ship with this type, but I just wanted to include something in the configuration to get started with

@amk-stripe amk-stripe marked this pull request as ready for review July 10, 2026 18:53
@amk-stripe amk-stripe requested review from a team as code owners July 10, 2026 18:53
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
class ExpressCheckoutElement internal constructor() {

fun present() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want present? I figured this would be some sort of composable.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I want Content(). I just updated this.

@amk-stripe amk-stripe merged commit a22b541 into master Jul 10, 2026
53 checks passed
@amk-stripe amk-stripe deleted the express-checkout-element-checkout-package branch July 10, 2026 21:35
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