August 30, 2012 at 6:08 am #7280Newyears1978Member
When selling online Tax is only required if the customer is in the same state as the facility..
I am in Texas so want to only charge Tax when the customer is in Texas..but I see no option for this…is this not possible..if so..what’s the solution as I can’t charge tax outside Texas, but HAVE to charge it within Texas.August 30, 2012 at 10:35 am #48816PeterMember
If you are using PayPal as your payment gateway, there is the option of using state-based tax. The following documentation should help:
If that doesn’t help let me know and I will explain another method.April 21, 2016 at 11:02 pm #48817
I am using Stripe and have the same issue. I only need to charge tax to products solid in California.
I see there is an add-on to charge tax by country, can this be updated to allow for US by State or is there another way?April 22, 2016 at 2:22 am #48818
You can use the following option to charge tax only when your customer tells the cart that he/she is from a selected state (for example: California).
1. Open the “eStore_advanced_configs.php” file find the following line of code:
2. Once you find it change it to something like the following:
define('WP_ESTORE_APPLY_TAX_FOR_CERTAIN_AREA', 'California residents check here');
Save and update this file.
3. Specify the tax rate in the “Calculate Tax” field of eStore’s settings menu. Keep the “Enable tax calculation” checkbox unchecked so it doesn’t apply tax automatically.
Now, there will be a checkbox in the shopping cart with the “text” you specified in step 2 of the above modification. When a customer checks that checkbox it will apply the sales tax rate (specified in step 3) to the shopping cart.April 22, 2016 at 2:35 am #48819
So, if I understand you correctly, a user will have to check that box to have sales tax added to their form.
That seems like quite a hassle, what if someone doesn’t check that box but has a shipping address in CA. The transaction will process and then I would have to contact that customer and explain that they didn’t check the “CA sales tax box” and then somehow charge them the additional amount.
Isn’t there an easy way to simply tie it to their shipping address?April 22, 2016 at 2:53 am #48820wpCommerceModerator
@Robert, Will this addon work for you?April 22, 2016 at 3:24 am #48821
Looks like it might be possible.
I’m trying to understand how that works with Stipe collecting the billing/shipping/credit card information.
Does the customer have to enter in information more than once with this plugin…once for the tax and a second time for Stripe?
Seems like it might be a good solution, but I would think it would be a better integration if it took the shipping address directly from Stripe and calculated without any additional input.April 22, 2016 at 3:40 am #48822
Taking a look at the code…it looks like if you add the following code into the wp_pg_order_form_body_content1($show_cart, $show_cards, $show_shipping) function in the
wp_pg_order_processing_form_include1.php file it would automatically be able to charge tax to anyone in “CA”.
var hold_tax = $(“#start_tax”).text();
var hold_total = $(“#start_total”).text();
if ($(“#state”).val() == ‘CA’)
var new_total = hold_total.slice(1) – hold_tax.slice(1);
$(“#total”).text(‘$’ + new_total.toFixed(2));
This would just go to the end of the jQuery section that copies the address from billing to shipping when the checkbox is clicked.
If you could simply change the “CA” part to a parameter that users could input…say somewhere where they would input state where their business is located, it would work for anybody that needs a simple solution to charge tax to people in their own state.April 23, 2016 at 4:22 am #48823wpCommerceModerator
@Robert, It’s not that simple. TaxCloud actually needs to verify the full address (with IP address) in the back end before it can calculate the tax rate. We have developed it in a way so it adheres to their guidelines and it will work with all of our payment gateways (off-site/on-site). This way users can also see how much tax will be charged before they go to the checkout page.April 23, 2016 at 4:10 pm #48824
If my previous suggestion isn’t something that you can do….
Is there some hook I could use to be able to update the tax information and/or create a custom collection form for Stripe if I want to create my own with a plugin.
I’m really not a fan of modifying standard code…makes any upgrades a real pain.April 24, 2016 at 2:59 am #48825
Tell me what hook/filter you want and where, and I will add it.April 24, 2016 at 3:48 am #48826
I many not know the exact language I’m looking for, but basically I want the ability to access the tax and total values shown on the collect-details page so I can zero out the tax amount and subtract it from the total if a specific state is selected in the US.
I’ll set up an option for the user to select which state they want to choose in the plugin settings.May 2, 2016 at 5:55 pm #48827
Any word on adding this hook?May 3, 2016 at 4:06 am #48828
You have to tell us the following:
1) Which file you want the hook to be added
2) Which line
3) What arguments (if any) this hook should pass?
4) You want an action hook or a filter?
Without the above, I have no idea what you are talking about.May 3, 2016 at 4:58 am #48829
Ok, I’ll do some research and get back to you.
- You must be logged in to reply to this topic.