PaymentSheetResult

sealed interface PaymentSheetResult(source)

Terminal result of one native payment-sheet presentation.

Client completion is not permission to fulfill an Order. The merchant backend must retrieve the owner-scoped Order and verify authoritative payment state.

Inheritors

Types

Link copied to clipboard
data class Canceled(val event: CheckoutEvent) : PaymentSheetResult

The payer dismissed the sheet before completion.

Link copied to clipboard
data class Completed(val event: CheckoutEvent) : PaymentSheetResult

The native flow reached its Checkout-confirmed success state.

Link copied to clipboard
data class Failed(val event: CheckoutEvent) : PaymentSheetResult

A terminal SDK or Checkout failure prevented continuation.