github laravel/cashier-mollie v1.2.0
Release v1.2.0

latest releases: v1.16.2, v1.1.6.1, v1.16.0...
5 years ago
  • Fixed a bug where the mandate payment amount did not reflect coupons. This resulted in a minor breaking change on custom CouponHandlers (info below).
  • Fixed a bug where the mandate payment amount did not reflect subscription quantity.

Breaking change on custom CouponHandlers
(This is a minor BC, because I don't expect people to be actually using this since it's not documented yet.)

Argument 1 passed to getDiscountOrderItems(...) has been dropped:

namespace Laravel\Cashier\Coupon\Contracts;

interface CouponHandler
{
    // before:
    public function getDiscountOrderItems(RedeemedCoupon $redeemedCoupon, OrderItemCollection $items);

    // after:
    public function getDiscountOrderItems(OrderItemCollection $items);
}

Don't miss a new cashier-mollie release

NewReleases is sending notifications on new releases.