Contents

PKPaymentError.Code.couponCodeInvalidError

The error code that indicates an invalid coupon.

Declaration

case couponCodeInvalidError

Discussion

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

See Also

Error codes