Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Release v1.4.0

Compare
Choose a tag to compare
@sandervanhooft sandervanhooft released this 24 Oct 11:49
· 194 commits to master since this release
dff0ab9

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 !