Package-level declarations
Types
Link copied to clipboard
Controls a Stripe Checkout Session: load it with configure, observe it through session, mutate it with the various update/apply/select methods, and present payment UI with a CheckoutElementsPresenter created via createPresenter.
Link copied to clipboard
Link copied to clipboard
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "Checkout session support is under construction and may change without notice.")
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.TYPEALIAS] )
This feature allows initializing PaymentSheet/FlowController/EmbeddedPaymentElement with a Checkout Session client secret instead of a PaymentIntent or SetupIntent.