VAT ID input in stripe checkout
-
Is the a way to enable VAT number ID input in stripe checkout?
Thanks in advance
-
Hi @smarti9,
Greetings from Webtoffee!
It is possible to enable the VAT ID input field in Stripe checkout. To properly set up this, you have to enable TAX ID collection in your Stripe account and modify the checkout form to add a VAT ID input field. Then Use Stripe.js to collect and pass this information along with other payment details.Hi,
I am understanding to create input field in checkout
https://www.webtoffee.com/how-to-add-custom-checkout-vat-into-woocommerce-invoice/ – this will work? Is there any particular meta name to call the field
I can add js from here https://stripe.com/docs/js – this is new to me didn`t find this originally
<script src="https://js.stripe.com/v3/"></script>
What I am stuck on is enabling TAX ID collection in your Stripe account, how is this done? I have been googling for 2 days trying to figure out.
https://stripe.com/docs/tax/checkout/tax-ids
Step by step how too would be great.
Thanks in advance
I have decided the easiest setup for me is to use the stripe hosted checkout
Stripe Checkout redirects users to a secure, Stripe-hosted payment page to accept payment.
How do I get the I am purchasing as a business option to appear on stripe hosted page so Tax ID can be inputted with name of business, it just has the following – email, card info, country, autosave details on the page.
Is it as simple as adding a line of code to the woocommerce checkout session from the following link https://stripe.com/docs/tax/checkout/tax-ids
How is it done I asked stripe support how to enable it and they said ask woocommerce payment gateway supplier. It seems to be an internet secret, and the information I found to do it is useless, just other platforms where the ability to do it is a button toggle in there backend admin.
Thanks in advance
Hi @smarti9,
Thank you for providing us with the information. We will work on incorporating a new method for handling this into our plugin and make it available in the upcoming version release.
Thanks so much for your help really like the function of your plugin, moved from woocommerce stripe plugin going to upgrade to paid version shortly
Thanks again.
Hi, I am back again.
Ok I planned using Stripe Hosted payment page for payments but I have run into problems thinking about invoicing customers.
I cant use Stripe invoicing because its not supported by you.
I thought I might be able to use your PDF invoicing solution but it only works with woocommerce cart I wouldn`t be able to pass back the VAT ID and recalculated VAT free price from Stripe hosted page to PDF invoice creation.
So I have decided to go back to my original setup having Stripe credit/debit card input in woocommerce checkout, with VAT ID collection courtesy of David Andersons EU/UK VAT ID validator and using your PDF invoice creator.
Now the problem I have is the VAT number inputted gets passed to the PDF invoice and Woocommerce processing email sent to customer but not passed to Stripe as maybe metadata if not an assigned variable, and Tax id collection in Stripe needs to be set to enabled in the woocommerce stripe checkout session for plugin, Can you add this or is that what you were talking about in previous post about next update version?
https://stripe.com/docs/tax/checkout/tax-ids?ui=embedded
Also how would I pass the VAT ID number from woocommerce to Stripe?
Thanks for all your help in advance. I am going to be purchasing your GDPR/ PDF Invoice and Stripe pro versions….
- This reply was modified 9 months, 3 weeks ago by smarti9.
Hi @smarti9,
We are happy to announce that this feature is added to the plugin in our latest release. Kindly update your plugin and add the below filter into your site’s active child theme’s functions.php.
add_filter("wt_ch_collect_vat", "__return_true");
Checkout collects the following tax ID types in the given regions:
https://stripe.com/docs/tax/checkout/tax-ids#supported-types
With tax ID collection enabled Checkout shows and hides the tax ID collection form depending on your customer’s location. If your customer is in a location supported by tax ID collection, Checkout shows a checkbox allowing the customer to indicate that they’re purchasing as a business.
When a customer checks the box, Checkout displays fields for them to enter their business’s tax ID and their business’s legal entity name. If available, Checkout uses the customer’s shipping address to determine their location, otherwise Checkout uses the customer’s billing address. Customers can only enter one tax ID.
Checkout saves the collected business name onto the Customer’s name property. Hence, customer name will overrides.
I have figured out there is no object in stripe to take vat id from woocommerce checkout. Tax ids are for stripe hosted payments.
- This reply was modified 9 months, 2 weeks ago by smarti9.
- The topic ‘VAT ID input in stripe checkout’ is closed to new replies.