#frallain

1 messages · Page 1 of 1 (latest)

compact domeBOT
celest wave
#

Taking a look!

fierce spade
#

thanks

celest wave
#

Looks like there was an error on finalisation

#

Stripe Tax is enabled on the invoice, yet the related customer has no location info to determine whether tax is due

fierce spade
#

OK so Stripe Tax should not be enabled until a location is added to the customer?

celest wave
#

And we prevent invoice finalisation/payment in that scenario

fierce spade
#

OK, that's a problem for us, our flow until now was that customers getting out of trial wihtout having paid anything would get an invoice generated that would be unpaid, thus putting the subscriptoin into past_due status.
Now, the subscription is getting into the active, as the customer had paid.

#

What would you recommend?

celest wave
#

I'd recommend you ensure you're collecting sufficient address/location information from your customers if you want to use Stripe Tax

fierce spade
#

OK but generally customers in trial do not input any location informationm they just want to try the product before use

hybrid wigeon
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

hybrid wigeon
fierce spade
#

OK. also this specif subscription got created with:

#

no payment_behavior specified.

#

And generally, for all our other subscriptoins, we have have specified payment_behavior at ALLOW_INCOMPLETE and this "bug" does not happen.

hybrid wigeon
#

Sorry for delay, still looking

hybrid wigeon
hybrid wigeon
#

Those are customers, but payment_behaviour is a property of a Subscription.

hybrid wigeon
fierce spade
#

OK. I think I need to toggle off Use automatic tax calculation at https://dashboard.stripe.com/settings/tax and wait for the customer to fill in his address to then enable Stripe tax on his subscription with

        stripe.Subscription.modify(
            subscription_stripe_id,
            automatic_tax={"enabled": True},
        )
#

Would that work?

fallen kite
#

Hey! Taking over for my colleague. I'm not fully understand the bug you are referring to

fierce spade
#

But then, all the support people in my company who create ad-hoc invoices would have invoices without Stripe Tax enabled, which is far from being ideal

#

OK. let me synthetize

fallen kite
#

the fact that before Stripe tax got enabled the subscriptions would get into status past_due , but now that it is enabled, they got into status active
I don't think that this is related directly to Stripe Tax

#

I invite. you double check your subscription lifecycle and see why it was passed to active and not past_due

fierce spade
#

but ynnoj was saying that

Looks like there was an error on finalisation
Stripe Tax is enabled on the invoice, yet the related customer has no location info to determine whether tax is due

#

and it makes sense.

fallen kite
#

Yes that's true.

fierce spade
#

OK then my question is : what the behavior of the toggle Use automatic tax calculation at https://dashboard.stripe.com/settings/tax versus setting automatic_tax={"enabled": True}, on each subscription and invoice?

fallen kite
#

You need to have both

fierce spade
#

Are you sure you need the toggle to then use automatic_tax={"enabled": True}, on each sub and invoices?

#

because in my tests, once the toggle is ON, new subscriptoins and invoices will automatically have automatic_tax enabled.

fallen kite
fierce spade
#

yes

fallen kite
#

Ah sorry yes, I had a confusion with other param

fallen kite
#

The toggle is for transactions made from the dashbaord

fierce spade
#

OK, if the toggle is ON, and I create a subscription manually via the API with
automatic_tax={"enabled": False}, does it overwrite it?

fallen kite
#

if you pass automatic_tax={"enabled": False} then stripe tax won't be applied

fierce spade
#

OK, I think I have everything needed to resolve my problem then. Thank you very much!