#sumitp07

1 messages · Page 1 of 1 (latest)

rugged glenBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

kind dew
#

👋 How can I help?

hexed wolf
#

I am troubling with the cutomized stripe checkout process.
My requirement is

  1. if the customer is from France then apply French Tax (20%)
  2. if the customer is from an EU country then apply EU Autoliquidation Tax (0%): and they provide a valid VAT number
  3. if the customer is outside the EU then apply Default Tax Rate (0%)

Our application flow is like the customer needs to subscribe for the product to get access for paid things. so for that we are using stripe checkout process.
So at the time of subscription on checkout page we product details section and billing section.
In product details section we have product details and tax details as I have mentioned above, and in billing section, we need to ask vat number of the customer if the customer is from EU region and country is not France.

kind dew
#

Are you going to manage the tax manually or use Stripe to manage the tax for you?

rugged glenBOT
hexed wolf
#

Stripe will manage the tax with customized tax

#

ids

hexed wolf
#

hi

lavish fog
#

Hi, will respond shortly

hexed wolf
#

ok

lavish fog
#

Hi, do you use Stripe Checkout as a redirection based approach, or Payment Elemnet as embeded components?

hexed wolf
#

I am using Stripe Checkout as a redirection based approach

lavish fog
#

And you are using Stripe Tax (automatic tax)? It will automatically apply the appropriate Tax rate based on your customer inputed address

hexed wolf
#

No, I have 3 tax rates which I have mentioned in above requirements,

  1. if the customer is from France then apply French Tax (20%)
  2. if the customer is from an EU country then apply EU Autoliquidation Tax (0%): and they provide a valid VAT number
  3. if the customer is outside the EU then apply Default Tax Rate (0%)
lavish fog
hexed wolf
#

right, but on checkout page it is not happening as troubling for identify the country chosen by customer as I am not able to handle the events on elements,

lavish fog
#

Have you tried the Dynamic Tax Rates approach above? Do you mean you already tried and it didn't work?

hexed wolf
#

yes

#

Because to pass the correct tax id I need customer address details first and that is we don't have

lavish fog
#

No the Dynamic Tax Rates will match the address your customer input in Checkout

#

If you tried it please provide the Checkout Sesison Id cs_test_xxx

hexed wolf
#

ok, let me send

hexed wolf
#

cs_test_b1PceMLabChqIgfStnAKcHhgCWkLMeV9IwhW8kQfDHes5QJhicmp2W00go

#

How can I achieve these conditions with the dynamic tax rate ids

  1. if the customer is from France then apply French Tax (20%)
  2. if the customer is from an EU country then apply EU Autoliquidation Tax (0%): and they provide a valid VAT number
  3. if the customer is outside the EU then apply Default Tax Rate (0%)
#

specially these two conditions (2 and 3)
2) if the customer is from an EU country then apply EU Autoliquidation Tax (0%): and they provide a valid VAT number
3) if the customer is outside the EU then apply Default Tax Rate (0%)

lavish fog
#

I see.. If you think of just 2 options 20% and 0%, would it work if you just specify the FR tax rate? It's simply matching "if France 20% else 0%"

hexed wolf
#

But I need to ask for VAT number for all EU countries except France!

#

at the same time

#

hi

lavish fog
#

How do you ask for VAT? Is it something outsied of the Stripe hosted Checkout Session page?

hexed wolf
#

no, On the same page for EU countries customers but not for France

lavish fog
hexed wolf
#

Yes, I have refered this but My requirement is enable the vat number collection for all EU region countries only except the France country and other countrie than EU region countries

lavish fog
#

Yeah I see, seems that conditional requirement isn't supported in Checkout. I can only think of asking your customer their location and collecting your customer tax id beforehand, then set into customer.tax_ids array when you create the Checkout Session

#

Sorry have no better idea

hexed wolf
#

So, how can i achieve this?

lavish fog
#

asking your customer their location and collecting your customer tax id beforehand, then set into customer.tax_ids array when you create the Checkout Session

hexed wolf
#

What if the customer change the location on checkout page?

lavish fog
#

Then it depends on how you would want to handle that case. You can ask them to provide VAT again if they change to an EU country, for example

hexed wolf
#

country change identification is not possible on checkout page, So we can't ask for VAT number on the same checkout page.

Is there any customize solution for this, as we can apply both tax rate ids and vat number if required depend upon customer location change?

lavish fog
#

Unfortunately not AFAIK. You would want to consider building your own checkout page and control all those logic, by switching over to the embeded Payment Elements then

hexed wolf
#

but with the Payment Elements also we cant get the location after country change, right?

lavish fog