Changelog / Fixed expired exit-intent coupon showing negative countdown

Fixed expired exit-intent coupon showing negative countdown

Freemius supports Special Coupons & Discounts, the Exit Intent Coupon. This coupon helps in conversion by providing a coupon right when the user is about to abandon the checkout.

Incorrect expiration countdown Freemius Exit Intent Coupon

We noticed that the checkout was showing a negative countdown timer if the coupon had an expiration set from the Developer Dashboard and if the coupon had already expired.

Setting expiration date of a coupon Freemius Developer Dashboard

The expiration date of any coupon can be set from the Developer Dashboard as shown in the screenshot above.

In this deployment, we have fixed this. If the exit intent coupon expires, it will no longer be applied.

Also like before, if the coupon expires in the future, then the FOMO counter will count down to the expiration date of the coupon.