Type Property

unknownError

The error code for an unknown error.

Declaration

static var unknownError: PKPaymentError.Code { get }

Discussion

Use this error code if an unknown but non-fatal error occurred during payment processing. The user can attempt authorization again.

See Also

Identifying the Error

static var billingContactInvalidError: PKPaymentError.Code

The error code to indicate an invalid billing address or billing name.

static var shippingContactInvalidError: PKPaymentError.Code

The error code to indicate an invalid shipping address, email, phone, or name.

static var shippingAddressUnserviceableError: PKPaymentError.Code

The error code for an unserviceable shipping address.

enum PKPaymentError.Code

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