You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're on API version 2013-07-05 with stripe 1.18.0. Here's what we can do to reproduce. This example customer has a non-zero account_balance going into this:
customer = stripe.Customer.retrieve(
subscription_id,
api_key=self._api_key,
)
# Make the changes. The response we get back from this is missing quite
# a bit of data, so discard it.
customer.update_subscription(plan=plan_id, card=credit_card)
# Re-query the customer so we can get the full, up-to-date values.
customer = stripe.Customer.retrieve(
subscription_id,
api_key=self._api_key,
expand=['default_card'],
)
At the end of this, we end up with an account balance of 0 again. This is obviously a pretty big disruption for us. Our tests started failing within the last week, so this appears to be a recent API breakage.
The text was updated successfully, but these errors were encountered:
Greg, it looks like this may be an API bug rather than a bug in the stripe-python library. I saw that you also reported the issue to support@stripe.com and we're working with you on that thread. I'm going to close this but feel free to reopen if you believe it is in fact related to stripe-python rather than the API itself.
We're on API version 2013-07-05 with stripe 1.18.0. Here's what we can do to reproduce. This example customer has a non-zero account_balance going into this:
At the end of this, we end up with an account balance of 0 again. This is obviously a pretty big disruption for us. Our tests started failing within the last week, so this appears to be a recent API breakage.
The text was updated successfully, but these errors were encountered: