#Admiral
1 messages · Page 1 of 1 (latest)
You're using subscriptions?
Also are you using the Payment Element to collect info?
we're using subscription.
I didn't understand your second question
you mean payment object?
No
How are you collecting payment info from your customer?
There's multiple ways (Checkout, Hosted Invoice page, Payment Element, Card Element, etc)
oh checkout. we're using checkout, which prompts user to enter card information.
So since that's a stripe hosted payment page it won't work very well with external tax calculation services. If using Stripe Checkout, it's really recommended to use Stripe Automatic Tax: https://stripe.com/en-gb-us/tax
Is it a hard requirement to use Avatax?
yes our company is canadian, we have to use Avatax which complies with our federal government tax rules.
Avatax works well with our other subscriptions with free trial, but this subscription shouldn't have free trial
because in free trial, user doesn't get charged immediately, so Avatax has enough time to calculate the tax.
this subscription though, doesn't have free trial.
I was thinking maybe there is a property we can set at checkout session to delay charging user for a while so Avatax does its job
No that doesn't exist on Checkout unfortunately
You could use a short trial
Like a few minutes
how?
You control when the trial ends: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.