Type Property

shippingAddressUnserviceableError

The error code for an unserviceable shipping address.

Declaration

static var shippingAddressUnserviceableError: PKPaymentError.Code { get }

Discussion

Use this error code for a shipping address that is otherwise valid, but is unserviceable. For example, the address is in a country you don't ship to, or it's a P.O. box and you can't deliver to P.O. boxes.

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 unknownError: PKPaymentError.Code

The error code for an unknown error.

enum PKPaymentError.Code

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