Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.x] Fix quantity filling on subscriptions #1238

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

driesvints
Copy link
Member

Even though zero shouldn't be passed as a value for quantity it atm leads to an issue where Stripe will use one as a default and the database will be populated by zero. By using the value returned from the Stripe API call we make sure we always use the correct quantity that's set within Stripe.

Fixes #1237

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.

array_filter removes 0 as the quantity value to addPrice function
2 participants