#Max-RS-VAT

1 messages ยท Page 1 of 1 (latest)

crystal horizon
novel cedar
#

Thanks for generating the thread

crystal horizon
#

Hi there! Can you provide a session ID or PaymentIntent where you aren't seeing the expected calculation?

novel cedar
#

hey, let me check

#

I am testing locally in a test environment, does that count too?

abstract girder
novel cedar
abstract girder
#

This means the user is trying to purchase in $USD

#

Which means EU TO America.

#

If it was in the EU would i not process as Euro?

novel cedar
#

If I use a bulgarian card and billing address, it does calculate the VAT:

abstract girder
#

This is true, if the end customer is set to be in EU

novel cedar
#

so in this case, the stripe settings are configured as a Bulgarian company:

abstract girder
#

I don't use checkout every often forgive me just trying to basic troubleshoot.

abstract girder
#

Wait, I see your config is in Russian.

#

Where is the base company based out of?

novel cedar
#

which is a EU country

#

its language uses the cyrilic characters

#

but that doesn't matter for VAT calculations

#

is this thread accessible to others btw? I'd like my colleagues to be part of this if possible

abstract girder
#

Yeah, just interested is all. My whole family is from Ukraine Didn't know Bulgarian used Cyrillic.

#

Absolutely. they can just click on the thread from the main chat.

novel cedar
#

ok nice

#

is there a way to get the attention of someone at Stripe? It's the first time I am using this

crystal horizon
#

Hi both! @abstract girder thanks for jumping in to help here. @novel cedar I haven't had a chance to review this whole thread yet (discord is a bit busy right now!)... are there outstanding questions here?

abstract girder
#

@crystal horizon is here. he will help he is helping like 20 people including me :p

#

@crystal horizon - He is stating VAT doesn't calculate. But in the image I see it is calculating so I am a bit confused.

crystal horizon
#

Got it. This stuff can definitely be fickle. Let me take a look at the specific Checkout Session you provided, Max.

novel cedar
crystal horizon
#

Max, the session above wasn't completed. Can you try again but complete the session and provide that ID?

novel cedar
#

ok one sec

#

I copy pasted the response of this request

#

please let me know if I need top copy paste something else

#

FYI I did not actually complete the checkout

#

I can do that if you want

crystal horizon
#

Yes please actually complete the Checkout

novel cedar
#

ok

crystal horizon
#

That's what I need to look at

novel cedar
#

done

#

ok this is the payment intent: pi_3KnS4OLueXt1u2td02zqjZaA

#

I believe I found the issue. The tax registrations section should probably be set to Europe instead of Bulgaria

#

which is what we have in the Live mode. However I do not know how to select that

#

When I select "add registration" I can only select actual countries and not Europe

crystal horizon
#

I think there should be two options when you choose a country

#

One where it is country specific and one where it will then apply to all of EU

#

Can you try removing that bulgaria registration and adding it again?

crystal horizon
#

What do you see when you put in Bulgaria?

novel cedar
#

This seems right

crystal horizon
#

Yep!

novel cedar
#

I'll test again the checkout process

#

Now it does calculate the VAT correctly for a regular customer in the EU

#

the only issue I still face is that it does not set the VAT to 0 when I select "purchase as a business" and I provide valid VAT details of a business:

#

Is that expected behavior? From what I understood, companies would be exempt from VAT

crystal horizon
#

I think they should too. Send me the ID after completing the session so I can look

novel cedar
#

This is a payment intent with that scenario: pi_3KnSSjLueXt1u2td0M2SX3DG

#

Any idea how that could be possible?

crystal horizon
#

The VAT ID is on the Checkout Session so I do think that worked.

#

Looking more why VAT was calculated and not 0

#

Ah okay

#

So it looks like you input billing details for Bulgaria here

#

Which is what is used for the customer

novel cedar
#

Oh interesting I did not know that. I'm learning ๐Ÿ™‚ Let me test a Belgian VAT

abstract girder
#

This was mighty educational glad I followed the thread

novel cedar
#

One more question. I was running the stripe-cli and it threw these error messages when going through the checkout:

#

Any clue about that?

#

If not, I can try debugging it with my backend colleague

full marlin
#

Yeah that is something you have to debug yourself. It's an issue with your local webserver

novel cedar
#

Ok, will do. Thank you so much for your assistance here, it was super helpful!

#

I can confirm that the issue is resolved. I was pointing to the wrong port

#

cheers guys!

full marlin
#

Glad you got it resolved!