Contents

couponCodeInvalidError

The error code that indicates an invalid coupon.

Declaration

static var couponCodeInvalidError: PKPaymentError.Code { get }

Discussion

Use this error code if the user entered an invalid coupon code in the payment sheet. You can use paymentCouponCodeInvalidError(localizedDescription:) to create an invalid coupon error object.

See Also

Identifying the error