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

Fixed bug in Subscription.api_list bug #1972

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

arnav13081994
Copy link
Collaborator

This PR fixes a minor bug that was not passing down status=None correctly to the Stripe API. status=None is a valid value.

jleclanche and others added 10 commits August 8, 2023 13:59
sqlite3.IntegrityError: NOT NULL constraint failed: djstripe_webhookendpoint.tolerance

Fixes #1955
Instead djstripe_settings.WEBHOOK_TOLERANCE, since it was removed (#1967)
* Updated BaseInvoice.retry to accept kwargs

This was done so that kwargs can be passed down to
Invoice.pay()

* Updated Customer.send_invoice method

This was done so that kwargs could be passed down to
Invoice.pay().

* Formatting fix

* Updated docs
If the user passed in status=None, it would
not get passed down to Stripe API correctly.
None is a valid value for status in this context.
@arnav13081994 arnav13081994 force-pushed the feature/fix_subscription_api_list_bug branch from 1cedd23 to 568fa6e Compare August 19, 2023 10:20
@jleclanche jleclanche force-pushed the master branch 5 times, most recently from 15e04c3 to 8727894 Compare April 25, 2024 14:48
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.

None yet

5 participants