laravel / cashier-stripe

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
https://laravel.com/docs/billing
MIT License
2.37k stars 667 forks source link

Allow setting the proration_date #1648

Closed skeemer closed 6 months ago

skeemer commented 6 months ago

This is a different solution for #1637 that doesn't change method signatures.

This makes it easy to prorate monthly on a yearly price or any number of other splits you would like to make.

driesvints commented 6 months ago

Hi @skeemer. I really appreciate the effort but like I said on the other PR I don't really feel up to pollute the public API with extra methods right now. I really think an extra options parameter is the way to go here but we can do that only in the next major version. For now, I suggest to roll with your own method. Try copying the contents from the updateQuantity method. Sorry