Closed tmoore95 closed 8 months ago
Hi @tmoore95! Thanks for bringing this to our attention. This should be fixed in #1329 and will be included in this week's release.
Hi @tmoore95! Thanks for bringing this to our attention. This should be fixed in #1329 and will be included in this week's release.
Great, thanks for the swift response!
Thanks again for bringing this up! This should be fixed as of v10.9.0.
Describe the bug
After upgrading to 10.8.0 one of our tests started failing due to an issue with retrieving the customer when deleting a
TaxId
object. It looks like the tax id itself is being passed in as the customer id inlib/stripe/resources/tax_id.rb:44
in this commit.To Reproduce
Upgrade to version 10.8.0 of the gem, fetch a
TaxId
object and then calldelete
on it.Expected behavior
It should get deleted, but instead it raises the following error:
<Stripe::InvalidRequestError: (Status 404) (Request <request_id>) No such customer: <tax_id>>
Code snippets
OS
macOS
Language version
Ruby 3.3.0
Library version
stripe-ruby 10.8.0
API version
2023-10-16
Additional context
No response