onCompletion callback to react when a payment succeeds, fails, or the checkout is dismissed.
Basic usage
With NavigationStack
See also
Show success message
Display a custom success UI
SwiftUI navigation
Navigation patterns for checkout
Navigate to a confirmation screen after payment completion
onCompletion callback to react when a payment succeeds, fails, or the checkout is dismissed.