ApplePayErrorCode
The error code that indicates whether an error on the payment sheet is for shipping or billing information, or for another kind of error.
Declaration
enum ApplePayErrorCodeOverview
Use the following error codes in the code property of ApplePayError:
"shippingContactInvalid"The code that indicates that the shipping address or contact information is invalid or missing.
Use with contactField.
"billingContactInvalid"The code that indicates that the billing address information is invalid or missing.
Use with contactField.
"addressUnserviceable"The code that indicates that the merchant can’t provide service to the shipping address (for example, can’t deliver to a P.O. Box).
"couponCodeInvalid"The code that indicates an invalid coupon.
"couponCodeExpired"The code that indicates an expired coupon.
"unknown"The code that indicates an unknown but nonfatal error occurred during payment processing. The user can attempt authorization again.