PaymentResponse

sealed external class PaymentResponse : EventTarget(source)

This Payment Request API interface is returned after a user selects a payment method and approves a payment request. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun complete(result: PaymentComplete = definedExternally)
Link copied to clipboard
fun completeAsync(result: PaymentComplete = definedExternally): Promise<Void>
Link copied to clipboard
Link copied to clipboard
suspend fun retry(errorFields: PaymentValidationErrors = definedExternally)
Link copied to clipboard
fun retryAsync(errorFields: PaymentValidationErrors = definedExternally): Promise<Void>
Link copied to clipboard