Skip to content

Create Checkout controllers and session snapshots - #2584

Open
porter-stripe wants to merge 4 commits into
porter/checkout-configuration-mappingfrom
porter/checkout-controller-creation
Open

Create Checkout controllers and session snapshots#2584
porter-stripe wants to merge 4 commits into
porter/checkout-configuration-mappingfrom
porter/checkout-controller-creation

Conversation

@porter-stripe

Copy link
Copy Markdown
Collaborator

Summary

Creates Checkout controllers on iOS and Android and returns a stable imperative JavaScript controller backed by ordered session snapshots. Controllers stop emitting after destruction and clean up during explicit destruction or module invalidation. Reviewed fields missing from the pinned native SDKs are left as TODOs until those APIs ship.

Motivation

CheckoutSessions

Testing

  • I tested this manually
  • I added automated tests

Documentation

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

Comment on lines +57 to +60
// TODO(porter): Uncomment when the reviewed native line item ships.
// putMap("unitAmountDecimal", amount(lineItem.unitAmountDecimal, session.currency))
// putString("unitLabel", lineItem.unitLabel)
// putMap("adjustableQuantity", serializeAdjustableQuantity(lineItem.adjustableQuantity))

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.

Android hasn't yet added some properties that are flagged with TODOs.

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
@porter-stripe
porter-stripe force-pushed the porter/checkout-controller-creation branch from 4026a56 to 857de91 Compare August 25, 2026 16:39
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
@porter-stripe
porter-stripe marked this pull request as ready for review August 25, 2026 17:25
@porter-stripe
porter-stripe requested review from a team as code owners August 25, 2026 17:25
porter-stripe and others added 2 commits August 25, 2026 13:00
…pping' into codex/pr2584-business-logic-cleanup
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant