Contents

PKPaymentErrorKey

Additional details about an error on the Apple Pay sheet.

Declaration

struct PKPaymentErrorKey

Discussion

Use payment error keys if you are creating a payment error without using one of the convenience methods in PKPaymentRequest (such as paymentBillingAddressInvalidError(withKey:localizedDescription:) or others).

The payment error keys indicate a specific field that has an error, for example, the street field of an address.

Topics

Initializing a payment error key

Error keys

See Also

Errors