Skip to content

[16.x] Update SubscriptionItem quantity of a Single Price subscription.#1803

Merged
taylorotwell merged 3 commits intolaravel:16.xfrom
Junveloper:single-price-subscription-quantity-update
Nov 20, 2025
Merged

[16.x] Update SubscriptionItem quantity of a Single Price subscription.#1803
taylorotwell merged 3 commits intolaravel:16.xfrom
Junveloper:single-price-subscription-quantity-update

Conversation

@Junveloper
Copy link
Contributor

When a Subscription contains only a single price, updating the subscription’s quantity does not update the corresponding SubscriptionItem. This results in inconsistencies between the two models.

This PR ensures that, for single-price subscriptions, the associated SubscriptionItem is updated whenever the Subscription’s quantity changes. This allows applications to rely on SubscriptionItem consistently, even in environments with a mix of single-price and multi-price subscriptions.

@taylorotwell taylorotwell merged commit 87fabe5 into laravel:16.x Nov 20, 2025
6 checks passed
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.

2 participants