Hi,
I have been looking for a solution to charging US tariffs and have not been able to find one anywhere here ....
Please tell me if I am wrong in this, what are others doing?
I do not know what other countries are doing but apparently in Australia we need to charge them on our end and pay them to the US government - I think through our shipping company or a third party company
so I was trying to create a simple module that would reside in order_total - check if a customer is in the US and charge an aditional tarrif fee (all my products are made here in australia - so ive been advised that the tariff on our products will be a flat 10%).
I have made a module easily enough that displays the tariff amount but I have 2 questions;
1. What file do I use to add this extra tariff amount to the order total, or is there multiple places that I need to do it?
2. Is doing this going to cause me problems with Paypal or the paypal module as it seems that the order is broken down into its seperate elements for the way they operate - it is not just the order total that is sent to them (or am I wrong here?)
US Tariffs
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Has thanked: 2 times
- Been thanked: 30 times
Re: US Tariffs
You need to create a new order total module.
You can use the low order fee module as an example.
Your code goes in the process method.
I am also putting a module together that will cope with multiple countries of origin across the catalog but your case is quite straightforward.
You can use the low order fee module as an example.
Your code goes in the process method.
I am also putting a module together that will cope with multiple countries of origin across the catalog but your case is quite straightforward.
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Has thanked: 2 times
- Been thanked: 30 times
Re: US Tariffs
Paypal Standard (the one in core) will cope.2. Is doing this going to cause me problems with Paypal or the paypal module as it seems that the order is broken down into its seperate elements for the way they operate - it is not just the order total that is sent to them (or am I wrong here?)
Paypal Checkout will cope as long as you add your module to the setting which lists additional order total modules which are charges not discounts.
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Has thanked: 2 times
- Been thanked: 30 times
Re: US Tariffs
Sorry, I forgot that module was removed in March.
Here's the code if you don't have it:
https://github.com/CE-PhoenixCart/Phoen ... derfee.php
Here's the code if you don't have it:
https://github.com/CE-PhoenixCart/Phoen ... derfee.php
-
Dan Cole
- Senior Contributor
- Posts: 498
- Joined: Fri Oct 25, 2019 2:14 pm
- Phoenix Version: 1.0.8.21
- Has thanked: 67 times
- Been thanked: 61 times
Re: US Tariffs
I wouldn't spend a lot of time on this until the dust settles and shipping to the US resumes after collection procedures are put in place ie who is paying what to whom and how it is to be collected.
https://www.theguardian.com/us-news/202 ... affect-you
Dan
https://www.theguardian.com/us-news/202 ... affect-you
Dan
- Portman
- Contributor
- Posts: 158
- Joined: Mon Mar 08, 2021 1:04 am
- Phoenix Version: v1.0.8.20
- Has thanked: 29 times
- Been thanked: 4 times
Re: US Tariffs
THanks @BrockleyJohn - that is what I needed but unfortunatly, things have gotten more complicated on my end so I am thinking of another solution - Ive created a new post for this - not sure if that is the right thing to do
@ecartz - I thought of using tax straight up but it was going to cause problems with the tax system I have set up here for australia and now that I realise I have to order different tariff rates for diferent products it makes it even more complex
@ecartz - I thought of using tax straight up but it was going to cause problems with the tax system I have set up here for australia and now that I realise I have to order different tariff rates for diferent products it makes it even more complex