UnavailablePaymentSheetAdapter

Adapter that fails safely when Checkout transport has not been configured.

This is useful for explicit dependency construction and tests; the prebuilt payment sheet uses CheckoutPaymentSheetAdapter by default.

Functions

Link copied to clipboard

Submits the payer's numeric token for the active confirmation challenge.

Link copied to clipboard
open suspend override fun pay(configuration: PaymentSheetConfiguration, session: PaymentSheetSession, selection: PaymentSheetPaymentSelection): PaymentSheetPaymentOutcome

Starts or safely retries payment using the payer's current selection.

Link copied to clipboard
open suspend override fun refreshPayment(configuration: PaymentSheetConfiguration, session: PaymentSheetSession): PaymentSheetPaymentOutcome

Refreshes authoritative state after provider authorization or processing.

Link copied to clipboard

Requests a replacement code for a recoverable confirmation challenge.

Link copied to clipboard
open suspend override fun retrieve(configuration: PaymentSheetConfiguration): PaymentSheetSession

Retrieves the client-safe Checkout projection for a finalized Order.