- 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);
}