Type Alias

PKPaymentErrorKey

Additional details about an error on the Apple Pay sheet.

Declaration

typedef NSString *PKPaymentErrorKey;

Discussion

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

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

Topics

Error Keys

PKPaymentErrorPostalAddressUserInfoKey

Payment error key that indicates errors with the postal address.

PKPaymentErrorContactFieldUserInfoKey

Payment error key that indicates errors with the contact information.

See Also

Errors

PKPaymentErrorCode

An error code that you provide to indicate problems with address or contact information on an Apple Pay sheet.

PKPaymentErrorDomain

The error domain for specific errors associated with Apple Pay in-app or web payments.