Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thusfar's avatar

Suggestions on how to handle VAT if using Braintree?

What are some ways on how to handle VAT if using Spark and Braintree??

I thought maybe to use Geolocation and based on country use the plans in SparkServiceProvide. If country is Germany use this plan, if it is Austria use the other plan and so on. Of course, each plan would be defined in Braintree dashboard. Unique plan for Germany, unique plan for Austria and so on. And I could apply VAT as an AddOn in braintree.

Of course this has downsides if user is using proxy or something like that, but hey, at least something.

What do you think? Would that work in Spark?

Do you maybe have some other suggestions??

Regards

0 likes
1 reply
EventFellows's avatar

I'd see two ways that seem reasonable:

using a separate plan per country does not seem very intuitive to me. you create yourself a lot of maintenance issues as you multiply your plans by the number of countries you want to sell in and the number of tax rates.

1 like

Please or to participate in this conversation.