Skip to content

[16.x] Upgrade Guides#1768

Merged
taylorotwell merged 11 commits into16.xfrom
16/upgrade
Aug 21, 2025
Merged

[16.x] Upgrade Guides#1768
taylorotwell merged 11 commits into16.xfrom
16/upgrade

Conversation

@crynobone
Copy link
Member

@crynobone crynobone commented Aug 19, 2025

Upgrade requirements

  • Stripe Account requires support for V2 API Version
  • Migration changes
  • Subscription::reportUsage() and Subscription::reportUsageFor() return type change from Stripe\UsageRecord to Stripe\V2\Billing\MeterEvent

Breaking changes

  • Coupon without expiry date
  • Metered Billing using v2 API

@crynobone crynobone marked this pull request as draft August 19, 2025 11:28
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone
Copy link
Member Author

@Diddyy can you give this a review in case I missed anything

@Diddyy
Copy link
Contributor

Diddyy commented Aug 19, 2025

@Diddyy can you give this a review in case I missed anything

Made some changes and added some more detail.
#1771

Also Stripe's Basil introduces "flexible" billing, but it is not yet supported in Cashier 16. @kyranb touched on this here: #1762 (comment). Might be wise adding this as its a big feature of Stripe Basil?

@crynobone crynobone marked this pull request as ready for review August 19, 2025 22:31
@taylorotwell
Copy link
Member

@Diddyy could you send a PR for flexible billing support?

@Diddyy
Copy link
Contributor

Diddyy commented Aug 21, 2025

@Diddyy could you send a PR for flexible billing support?

See this #1772

@taylorotwell taylorotwell merged commit 70cfcbd into 16.x Aug 21, 2025
7 checks passed
@taylorotwell taylorotwell deleted the 16/upgrade branch August 21, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants