#johnpitchko-product
1 messages ยท Page 1 of 1 (latest)
And what version of our Ruby library are you using?
Ugh like 5.49 ๐
Apologies for the delay, I haven't found anything definitive yet.
No problem
Thank you for your patience, a teammate is helping me look into this.
We just noticed that the Product shown in that response was created last year, and that the behavior you saw then may have been different based on your account state. I found a recent request from your account logs and it seems to have returned default_price instead. Can you confirm what behavior you're seeing when you create products now?
Oh so the response may depend on when the product was created?
Hi there ๐ taking over for toby. In this case: yes it does, because the state your account was in has changed and it appears the issue has not been ongoing
Interesting..... ok thanks I will handle this in our code to look for either a price or default_price attribute
I seem to be getting an invalid tax code error when I run Stripe::Product.update(...) even when I use the non-taxable code txcd_00000000
Which docs are you following that mention using that tax code?
Hi Iโm just looking at our existing code
Howdy!
Catching up
Huh that's odd
That looks fine to me
Do you have a request ID that I can look at?
Iโm just using the Ruby library; can I grab one from making a request via the library?
Hmm can you just provide the product ID that you are attempting to update? That would work as well
So it looks like you aren't passing the tax code correctly in the request. It seems to be passed as tax_code: "TaxCode - 476558". If you do have access to your Dashboard you can see this here: https://dashboard.stripe.com/test/logs/req_ITFyq2mQBJdRMO
yeah that was our legacy test data
Err.. Solidus legacy test data
But what about in the screenshot above where I change the tax code to txcd_00000000?
Are you updating in livemode or testmode?
I'd assume testmode...
But I'm not seeing a newer request than the one I mentioned that is hitting that error.
๐ค
You're right; I see in logs
What is odd is that my most recent requests do not appear in the logs
Hmm that is odd
You didn't change the key you are using to a different account did you?
Not as far as I know; I checked and we are passing the same key as the account that I am viewing
I can see POSTs from 7:29 PM but nothing after that
Alright I'll keep hacking away at this. Thanks for your help!
Ah wait now I see a new one