#andrewandyandy

1 messages · Page 1 of 1 (latest)

west palmBOT
austere parrot
#

Hello! Do you mind sharing an example request ID so I can take a closer look?

elfin anvil
#

sure, where can i get the reuqest id

#

req_hfRIWCaCLpO7kJ

austere parrot
#

Is your code doing something like stripe.customers.updateSubscription?

elfin anvil
#

yes that is correct

austere parrot
#

Yeah that's the issue - stripe.customers.updateSubscription is pretty old and calls out to a legacy version of our subscription creation API. If you want to use default_tax_rates you'll have to switch to using stripe.subscriptions.create instead

elfin anvil
#

mhmm yeah i figured. mhmm is there an upgrade guide to this? concerned on the impact if I change it out to stripe.subscriptions.create

austere parrot
#

Unfortunately I don't think we have a migration/upgrade guide for this - for the most part I think it should behave the same

elfin anvil
#

when we used
stripe.customers.updateSubscription

we're passing in a plan with the plan id, is there a equivalent in stripe.subscriptions.create

austere parrot
#

Have you tried passing in the same thing? I believe it should just work

elfin anvil
#

so i changed out the code to stripe.subscriptions there is an error but no error message, trying to debug the issue

austere parrot
#

Hmm.. are there any details you can sure? You're saying there's an error?

elfin anvil
#

figured out the issue. thank you! I changed the function but didnt change the parameters

austere parrot
#

aha! that would do it

#

glad you figured it out