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
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 in lib/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 call delete 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>>
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
The text was updated successfully, but these errors were encountered: