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

StripeObject.last_response is None on save() calls #393

Closed
jleclanche opened this issue Feb 8, 2018 · 2 comments · Fixed by #394
Closed

StripeObject.last_response is None on save() calls #393

jleclanche opened this issue Feb 8, 2018 · 2 comments · Fixed by #394
Assignees

Comments

@jleclanche
Copy link
Contributor

Repro steps from #371:

customer = stripe_customer.api_retrieve()
customer.account_balance -= 250
customer.save(idempotency_key=ik)
credit_request_id = customer.last_response.request_id  # Breaks! last_response is None
@ob-stripe
Copy link
Contributor

Thanks @jleclanche. I was able to reproduce this easily, will try to push a fix soon.

@ob-stripe
Copy link
Contributor

Fixed in v1.77.2.

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 a pull request may close this issue.

2 participants