#damenz - tax rates
1 messages · Page 1 of 1 (latest)
req_nEpVSjjIr9caKk
Thanks taking a look
i read a subscription via the API and it is exactly like this (except the object is expanded)
I only provide
$param["default_tax_rates"] = [
"txr_1HT6x9LiVV9UQF8g0EmMwCIK",
"txr_1HT6wwLiVV9UQF8gmlggt8dA"
];
which used to be working
So for the request id that you shared, it looks like you were actually creating a subscription schedule, not a subscription: POST /v1/subscription_schedules. default_tax_rates is a valid parameter for creating a subscription, but not for creating a subscription schedule: https://stripe.com/docs/api/subscription_schedules/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thats correct I am creating a scheduled subscription
but It used to be working
(same code, I didnt touch anything)
Last week but I dont have the request ID
this is my body
when I look at the doc you sent me there isnt even a "plans" parameters
as if everything changed
?
That example also doesn't include default_tax_rates though. Is that a different request?
oh its a little further down
I dont provide if its in dev
now I have to provide inside the phase?
yeah... they changed the api
without adding a warning in the doc
it works when I provide inside the phase
I used to be able to provide it "globally" for the entire schedule
So you for sure had 200s for creating subscription schedules in live mode?
I see some successes in test mode, which makes sense because the default_tax_rates weren't passed in (according to your code)
By 200 I mean successful responses
Yeah I had 200's but it does not happen that often that we create a stripe subscription
(Its my billing team who's doing it, not me)
They just flagged me that it stopped working last week
Ok looking through old requests right now for you guys. So far, I haven't found one that passed in default_tax_rates as you described. I will keep looking over them though
At least its working now !
Here's one from 11/03 that was a success. You passed it in correctly (within phases) that time: https://dashboard.stripe.com/logs/req_Q7GioiKel5IM78
All the successful ones I see have default_tax_rates passed in correctly (within phases)