Contents

couponCodeExpiredError

The error code that indicates an expired coupon.

Declaration

static var couponCodeExpiredError: PKPaymentError.Code { get }

Discussion

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

See Also

Identifying the error