Unavailable Payment Sheet Adapter
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
open suspend override fun confirmPayment(configuration: PaymentSheetConfiguration, session: PaymentSheetSession, challenge: PaymentSheetConfirmationChallenge, token: String): PaymentSheetPaymentOutcome
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
open suspend override fun requestConfirmation(configuration: PaymentSheetConfiguration, session: PaymentSheetSession, challenge: PaymentSheetConfirmationChallenge): PaymentSheetPaymentOutcome
Requests a replacement code for a recoverable confirmation challenge.
Link copied to clipboard
Retrieves the client-safe Checkout projection for a finalized Order.