Adding fees for paypal and credit card depends on customer geo zone - wordpress

I have found this - WooCommerce: Add fees to card based on payment gateway selected nice plugin, but I would need a plugin that I can set up three different fees to customers from different geo zones..
For example. - Slovenia - 4.8% - Serbia - 4.9% ect..
How can I do that? With which plugin?
Or is it possible to modify upper plugin to add geo zones for each fee? I am not good at coding, so I do appreciate some help.
#Marin Atanasov - I can't, because this is not tax, it's fee and it's not acceptable for our inspection. I already had that tax created in paypal, but it's not ok, because I have three different webstores, one in OC, one in woocommerce, and one in shopmania. I found one extension for OC that already calculates my fee for slovenian users, so I removed tax (so called fee) for them in paypal, but than the webshop in shopmania targets costumers in ex yugoslavia. But, the OC shop also does not exclude ex yugoslavian costumers, so the fee can be charged twice. The problem is also with the third webshop - woocommerce- where I have now for all costumers set up 3.4% fee, but if the costumer from ex yugoslavia orders than the fee is again charged twice, because I didn't remove it from tax in paypal. I need to find a resolution so the all three webshops have their own extension to calculate the fee, and delete taxes that I already set up in paypal.
If paypal would allow multiple webstores under 1 company name, this would be easy to fix.. but I can not enter my credit card number for all three webstores.. :(
Do you have any idea what to do? I am lost.

Perhaps you can use the built-in taxes? They provide you with the option to specify custom tax rates for countries.
To do this, you would have to:
Create your custom tax rates for the preferred tax class under WooCommerce -> Settings -> Tax
Select your preferred tax class for each of the products, and make each product Taxable
Make sure the taxes are enabled and properly configured per your preferences in WooCommerce -> Settings -> Tax

You can also use one plugin to add commission to certain payment gateways with different percentages
Payment Gateway Based Fees and Discounts for WooCommerce

Related

Woocommerce + Stripe issue

I need some info. I have a WordPress website using Hivepress theme + Woocommerce extension with Stripe integration. Everything is working as this:
user book the hotel and pay
we get the money and hold it
users release the payment by clicking on a button. The payments go directly from our stripe account to the hotel one.
I want to add a commission to it. It's actually easy from woocommerce so I can see everything in the cart 100$ hotel + 15% commission and I get the total amount to my stripe. The problem is that the payouts I mentioned before will contain also this commission (so the hotel is getting the total + my commission).
I can't split this amount and fees in my stripe.
I should be able to see those 18$ in "Collected fee" in Stripe.
Anyone one can help?
"Collected fees" will display amounts that have been collected as application fees: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-application_fee_amount
It sounds like the commissions are being included in the PaymentIntent amount instead of as a separate application_fee_amount. If WooCommerce manages the PaymentIntent creation, I recommend working with them to see if their Stripe integration supports the use of application fees.

Can Dokan split out sales tax into a separate transaction?

We are currently running a marketplace using Dokan where all vendor/buyer transactions are handled by PayPal Express Checkout. Most of our user base is in California where tax rates vary between cities. WooCommerce tax settings are in place based on shipping address, but currently this gets tacked onto the money that the vendor receives, so they pocket the sales tax while we foot the bill out of our own pocket.
We have tried using the PayPal for WooCommerce Multi-Account Management plugin to send a flat percentage to our own PayPal account to deal with sales tax, but since this only allows a set percentage it is not suitable for California's infinite variety of tax rates, plus it incurs another transaction fee.
Is there any feasible way we can add sales tax to the total for the buyer, pay the vendor their share, and send the sales tax to our own PayPal account (with minimal or even no 2nd transaction fee)? If this is not possible with PayPal, is there any other payment provider that could do this & which could slot into Dokan with minimal hacking?
If you onboard every seller for multi-party payments including the third_party_details feature PARTNER_FEE (a necessary initial setup) -- then, for every transaction you can pass amount details including all item and tax information for display/transaction record purposes, and additionally include the tax amount you wish to collect as part of the partner_fee being deducted from what the seller receives and sent to you as the facilitator. This answer goes into more detail on that last part.

Tax classes on WooCommerce with Dokan

I have a marketplace with Dokan Pro installed.
I would like that when vendors create a product ,there is no tax.
But, I need 20% VAT on the products I sell as an administrator. I mean for example that vendors can buy different products to promote their stores. So I need 20% VAT on these products but no taxes on all the others products create by the vendors.
I hope I was clear ?
if someone can help me, I will appreciate !
Well, if your requirements are as simple as described, you can just use other tax class(es) for your products than your vendors use.
However, in most business cases it is not as simple as that, starting with invoice requirements and reaching up to scenarios where you and your vendors need to collect taxes.
Then you need a solution that also
handles the invoicing stuff (VAT numbers on vendors end, etc..)
dynamically calculates and collect taxes based on many factors, like the customer and the vendor location, the products they are selling, businesses customers or private consumers and many more.
You may check out Global Tax for Dokan and Global Tax for Dokan Invoice for these use cases. Alternatively and more generally you can also check out Global Tax for Marketplaces and More (GT4M).

Woocommerce subscription: seperate tax rate, one for the signup fee and second for the recurring payment

We have a website that sells subscriptions.
The customer will get a physical product and then will be charged each month for the service.
We use WooCommerce Subscriptions plugin. We set the subscription product so the "Signup fee" will be used to charge for the physical device, and the subscription fee is for the service.
On some US states, the Tax for service and tangibles is different. For us it means different tax rate for the product (one time) and another tax rate for the recurring payment (service).
Since there is only one option to have Tax Class, I could not find a way to make it happen. Any ideas?
So...
The answer is to separate the subscription into two products. one as service and one as tangible.
We add the tangible on-the-fly.

Drupal Shipping Rules with Product Option Sets

I have an pricing attribute option set up on one of the Drupal products.
I am trying to create shipping rules that address:
1) Which of the options for the product the user selected
2) Where the user's address is
To calculate individual shipping rates. So, for example, I might have someone order the two year subscription to Japan and need to have a shipping rule for that price. Then I need another if someone orders a one year subscription to the US.
Thanks!

Resources