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
default payment method not detached #1836
Labels
discussion
The premise or details of this issue is open for discussion
Comments
patroqueeet
added
the
discussion
The premise or details of this issue is open for discussion
label
Oct 28, 2022
@patroqueeet Verified this. This is happening but this is not a djstripe bug. This is how we get the JSON from stripe. For some reason it is still updating the Can you tell me what is your Stripe API version? |
|
Unfortunately this is the behaviour in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to reproduce: in stripe UI remove a default payment method from customer, which in Django db is attached to
Customer.default_payment_method
. DJ DB looks like after: payment method existing, but with no customer attached, butCustomer.default_payment_method
is still linking to it. hence when checking in Django if there is a payment method attached, a wrong result is returnedDescribe the solution you'd like
detach default payment method, when method itself is removed
Additional context
stripe==2.5.1
The text was updated successfully, but these errors were encountered: