Releases: laravel/cashier-mollie
Release v1.2.1
Fixing a bug in the coupon handler, filtering out action payloads that are null.
Release v1.2.0
- 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);
}
Release v1.1.0 - Laravel 6 support and OrderInvoiceAvailable event
- Added Laravel 6 support (big thanks to @ciungulete, with help from @RobertBoes)
- Added the
OrderInvoiceAvailable
event - Modified the
FirstPaymentPaid
event, which now contains the relatedOrder
as well ($event->order
) with help from @pascalbaljet. - Removed the
MandatePaymentPaid
andMandatePaymentFailed
events, which became obsolete a while ago.
Release v1.0.0 - Ready to rock and roll 🎸
We've had a rigorous beta testing period, followed by an amazing announcement party at Laracon.EU.
Thanks everyone for all the ❤️.
Here is laravel/cashier-mollie
v1.
Enjoy! 🎉
- Sander
PS. Some noteworthy changes since last release:
- added the
MandateUpdated
event - the downloaded invoice filename has the format
invoiceReference_appName.pdf
, so your customer sees a recognisable filename once it's in their Download folder. - the configured first payment amount is including the VAT (whatever the taxPercentage)
- The
redirectUrl
on theFirstPaymentBuilder
can be overridden - a number of subscription modifiers support lazy processing, so you can modify some more before the payment is generated (
updateQuantity
,incrementQuantity
,decrementQuantity
,swap
andrestartCycleWithModifications
). - the helper method
$subscription->restartCycleWithModifications(...)
is public. This helper method is at the heart of Cashier's prorating features.
Release v0.1.5
Fixed an issue where a generic trial was not canceled when a customer subscribes to a plan.
Release v0.1.4
Cleaned up some obsolete settings from config/cashier.php
.
If you've already published config/cashier.php
into your application, your can safely remove order_item_preprocessors
from the end of the file.
The option to configure OrderItemPreprocessors
was already available in config/cashier_plans.php
. These preprocessors allow you to customise the order item right before it's processed into the Order - making it a good place to put in some cool custom metered billing logic.
Release v0.1.3
Changed:
- All Cashier Event attributes are now
public
(thanks @eroelofsen!) - Some migration fields were changed for improved compatibility (thanks @MSnoeren!):
json
is nowtext
and(unsigned)Integer
is now(unsigned)BigInteger
.
Release v0.1.2
Starting a new subscription via the Mollie checkout with a zero tax percentage was resulting in an exception. This has now been fixed.
Release v0.1.1
Fixed some bugs:
mollie_mandate_id
did not get stored correctly on the billable model if it was not configured as a fillable property.- storing payment info on the Order when created via Mollie's checkout.
config/cashier.php
has thefirstPayment.method
now default tonull
. This is in order to avoid confusion when setting it up the first time.
Release v0.1.0
Here's Laravel Cashier for Mollie! 🎉