PKPaymentError.Code.couponCodeInvalidError
The error code that indicates an invalid coupon.
Declaration
case couponCodeInvalidErrorDiscussion
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.