#ninja-checkout-tax
1 messages · Page 1 of 1 (latest)
ninja-checkout-tax
- https://stripe.com/docs/payments/checkout/taxes
- I'm not sure I understand the question
- Same here, like what does "the customer uses the email in the checkout" mean?
- On the invoice i need the business VAT number to be included on, now it not.
- In the checkout, i need to forc the customer to use their email and not some apple pay or something else that does not use a email. I NEED a customers email adress
also 1. I dont collect any adress info etc, so how can i apply a standard VAT to all purshases?
You can collect & include customer Tax IDs if they are supported, this is separate from calculation of VAT for payment:
https://stripe.com/docs/invoicing/customer/tax-ids
If you want to force explicit tax rates, you can do so using the tax rates API instead of leveraging automatic tax: https://stripe.com/docs/payments/checkout/taxes?tax-calculation=tax-rates
Okay, and how can i make sure that the email box in the checkout must be used?
Good question. Looking in to this. And to be clear this is for one-time payments? Subscriptions always require an email anyway as far as I know
Yes 1 time payments
As far as I can see email is always required and if the user uses apple or google pay, the email from those IDs will populate the customer email field
Are you not seeing that in your own tests?
If you're having issues, can you share an example checkout session that paid this way and does not have the email address?
So yes i know that the user might choose apple or google pay, BUT i don't want to allow that basically.
Okay, i should prob phrase it a bit better:
The only way a customer should be able to buy a product should be with their email adress in the input field. So no third party payment solutions as apple etc.
In this case you'll want to turn off those wallet payment methods in your account settings, then: https://dashboard.stripe.com/test/settings/payment_methods
perfect
also, what's the uptime for the webhooks? possible in anyway after an order that the webhook would not be triggerd? if so, we loose all info
and secondly, for the webhook i was provides a secret key for development mode. But where can i find that key for production mode?
Hi 👋 I'm jumping in as my teammate needed to step away. The Stripe service's uptime can be found here:
https://status.stripe.com/
There is a section showing the uptime of our webhook generation service there also.
The signing secret that a webhook endpoint uses is generated when the endpoint is created, so when you create your livemode endpoint you'll get the signing secret then (either as part of the API response, or in the signing secret field in the dashboard).
Ah alright so i need to add the endpoint and then i get the secret key?
Correct, the signing secret will be unique for each endpoint, so you won't have that value until the endpoint is created in Stripe.
Oh alright perfect!
i didnt understand the guy before, i asked how i can use 1 standard VAT rate for all payments, do i need to pass something to the checkout?
There are two flavors of tax calculations within Stripe:
- Stripe Tax - the more automatic way of doing things (includes a fee)
- Tax Rates - the more manual more free approach
When you mentioned checkout previously, were you referring to using our Checkout Sessions? Or do you have a custom checkout experience that you've built?
I use your pre build checkout.
Some usefull information:
I dont collect anything more than email and payment. So it cant figure out VAT by it self, so right now it does not show any VAT at all. So i think i need to specify the VAT, and i only sell in EU so it should be my countries VAT
Gotcha, so I believe you'll want to use line_items.tax_rates if you're going to be handling this with a single Tax Rate:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates
Some additional info on Tax Rates and a link to our API ref where the endpoints for those are covered:
https://stripe.com/docs/billing/taxes/tax-rates
https://stripe.com/docs/api/tax_rates/create
Hmm right, can you show example if I’m gonna pass in Finland VAT?
I'm not sure what values you will want to provide for Finland VAT specifically, you'll want to speak with your tax advisor regarding those details, but first you would use this endpoint to create a Tax Rate object based on those details:
https://stripe.com/docs/api/tax_rates/create#create_tax_rate
Then pass the ID of that Tax Rate to line_items.tax_rates when creating the Checkout Session.
Ahhh oh damn I thought I could just pass like a string of the country.
Hmm this got more complex than I thought of lol. Well then maybe it’s just best to let stripe figure out the tax it self.
For that I need to collect the address of the user right? How can I enable that?
Correct, there are several factors that we need to know to determine tax amounts automatically:
- What you're selling
- Where you're selling from
- Where you're selling to
This doc walks through setting up the details from your account perspective (what you're selling, where from, and where you're registered to collect tax):
https://stripe.com/docs/tax/set-up
Once that is set up you'll need to adjust your integration so the Checkout Sessions have address information available to them and tun automatic_tax on for them. This doc walks through that process, and talks about the various options that are available:
https://stripe.com/docs/tax/checkout
Okay nice, do i need to do it for both test mode and prod mode?
👋 Catching up and stepping in for my teammate
I don't believe any tax registrations you set up in test mode are propagated to live mode
right, now i get error in test mode that i dont have tax setup
Got it. As toby mentioned, I recommend starting here: https://stripe.com/docs/tax/set-up
Test mode tax settings are available at https://dashboard.stripe.com/test/settings/tax
i did that in test mode, and now i get: does not have a tax_behavior set which is required for automatic tax computation.
but i can't find where do add it to my product in the dashboard
ah
chevron icon..
found it
now still the fields where the user should type the adress is not visable. But the choose country field is visable tho
This is still with Checkout, correct?
Can you share a screenshot of what you're referring to?
Got it. Do you have a request ID for your Checkout session creation?
@prime venture let me know if you can share the request ID. It should look like req_...
let me see
nope
but i see a ID
cs_test_b1OuhVVrez5PXzxrVj14RwUe7mVEbEjePveElxt9ofUeac9ZqxczQv0dzG
Thanks! I believe this is expected. The price used for this Checkout session is for a product that's delivered electronically, and card payments don't require collection of full addresses
ohh alright, so the VAT will work with only country?
If you want to always collect a billing address, you can create the Checkout session with billing_address_collection: required