This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
Release v1.4.0
This release adds new coupon helpers and the SubscriptionStarted
event.
Added:
Billable::redeemCoupon()
. This allows you to easily redeem a coupon for an existing subscription.RedeemedCoupon::isActive()
to check whether the redeemed coupon is still applicable.RedeemedCoupon::revoke()
, to ensure that the redeemed coupon will no longer be applied.- the
SubscriptionStarted
event. This event fires when a new subscription is started, for both trials and non-trials. Thanks @pascallieverse !