#ayeshaikh_7
1 messages · Page 1 of 1 (latest)
and I'll have to keep checking if there is any change in tax rate
and there can be 100s of subscriptions
yeah, but the Stripe tax calculates taxes based on the customer address and customer can only have one address
and in my a customer can have multiple subscription with distinct address
so - rn don't want to go with Stripe Tax
and in my a customer can have multiple subscription with distinct address
A customer at the same time can have two addresses ?
yes - they may have
in my case customer is a part of org and can have multiple subscriptions with different address
any other approach if you could suggest
Nope honestly
What you can do is to create a Stripe Customer object for each location
So every single customer to your integration may have multiple Stripe Customers
and then you can use Stripe Tax
don't want to go that route of creating multiple customer for each location
I was thinking of using upcoming invoice event to check for the rate change, update the subscription with those rates - but tax rates won't change that often
You add that check yes that coul dbe an option too
also, if I use tax rates - should I be creating tax_rate for each state - and then retrieve using the location, use it for my subscription based on the customers location OR need to create new tax rates for every other subscriptions?
if I use tax rates - should I be creating tax_rate for each state - and then retrieve using the location, use it for my subscription based on the customers location
You need to follow this option
thanks, but I don't see any api to get tax rates based on location
You need to track this in your integration/database
also, if I use upcoming invoice event - the event is triggered 3 days before - and what if the tax rate was changed after that
got it, thanks
You need to track that in your integration
did not get this one
also, if I use upcoming invoice event - the event is triggered 3 days before - and what if the tax rate was changed after that
You can configure the upcoming event to be triggered 1 day before renewal via the dashboard, but you still may have tax rate changes after getting the event. So the only option is handle this change by your own integration
was this about tracking tax rates based on location?
since there is no stripe api to get tax rates based on location
yes
saw the dashboard can only see 3, 7 etc
let me check again
Ah yes you're right
But this doesn't solve your issue
Once a tax rate change, you need to fetch all impacted Subscription and update them by your integratin
can I use invoice created event here?
not sure if I can change the tax rates while invoice is in draft state?
I invite you to do a test regarding this
sure, I'll test
one more question, why there is no stripe api to get tax rates by states/ location/ jurisdictions? won't this be helpful
👋 taking over for my colleague. Let me catch up.
you can do tax calculations using this API https://stripe.com/docs/api/tax/calculations/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.
Hi, I am creating tax rates and using it for subscriptions. And I want to make sure we charge right amount of taxes - if the tax rate is changed in future. How can I handle this?
you create a new Tax rate and you update the subscription
and I'll have to keep checking if there is any change in tax rate
and there can be 100s of subscriptions
you can use Stripe Automatic Tax and then we can do that on your behalf
rn - don't want to with stripe tax - since in my case customer can have multiple addresses
and in stripe a customer can only have one
you can create multiple customers for each address
and I don't want to have multiple customers for each address 😐
actually thinking about it now
you can have multiple billing addresses for the same customer
it requires creating multiple Payment Methods for the same Customer
that would be tied to payment method
and each Payment Method has a different billing address
and then you would choose the corresponding PM to use for each subscription
which means that the tax will be calculated based on that billing address
yes...but in my case same PM can have multiple addresses too
you can clone PMs and change their billing addresses
actually that's not possible on the same platform
so again...PM for each location same as customer issue
multiple customer for each address/ multiple PM for each address -- dont want to do that
oh okay
the reason we dropped the idea of using stripe tax
just to make it clearer cloning is not possible on the same account
and still want to make sure the tax rates are latest and accurate for all our subscriptions
yes got it
and I'll have to keep checking if there is any change in tax rate
and there can be 100s of subscriptions
any approach if you can suggest
trying to think of a solution
please give me a couple of minutes to think this through
sure
ok so basically you can create multiple payment methods on the front-end while the customer has only entered their info once
by using stripe.createPaymentMethod described here https://stripe.com/docs/js/payment_methods/create_payment_method_elements
and each time you pass in different billing Details
you need to pass in paymentMethodCreation: 'manual' while creating the payment element though
you are suggesting creating multiple payment method object for same PM for each location?
the same Payment Element
yes
so basically you can have a UI where you collect a Payment Method, and the user can add as many Billing Addresses (minimum 1)
once the form is submitted, you go through the billing addresses and for each you create a PM(payment method) using the Payment Element and pass in the corresponding billing address
yes, this is same as having multiple cusotmer object for every location they add
right?
except there are multiple copies of same PM instead of customers with differnt address
no since this is on the same customer object
yes but they all fall under one customer
it's not multiple copies of the same customer
but of same PM
it's technically not the same PM
yeah
because it's bound to a different billing address
but only thing different is the address here -- the card or ach data remains same
but that's what your model already describes right?
you want a customer to be able to have multiple billing addresses even if they had one billing method
yes
that's the same thing
the only difference is that we store both of the information on the same object
won't these have different ids
or I can have multiple billing address for one PM?
not sure if I am understanding this right - but we want is a customer to have multiple billing addresses
no that's not possible
yes they will
and you will use the corresponding ID
each time you choose by billing address
I'm not sure what's not clear
no, I got it - I don't want to have multiple copies of PM
and thanks for patiently answering everything
unfortunately that's the only solution we can offer you