Our Zip Code being entered in shipping information
Re: Our Zip Code being entered in shipping information
We are not using address validation. We tried it, but found that it created too many issues (in a test, we could not even get our own address to validate, so it would not be accepted).
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Our Zip Code being entered in shipping information
Correct, we only collect tax from NC residents and none of the orders in question were in NC.
We use USPS, but enable address validation is not checked.
We use USPS, but enable address validation is not checked.
Re: Our Zip Code being entered in shipping information
CGrouse -
If you don't mind, I would like to try some tests on your website using Chrome. This issue seems to happen most often on your site, and I've had no luck trying to reproduce on my own. Can I get the URL to your store please?
If you don't mind, I would like to try some tests on your website using Chrome. This issue seems to happen most often on your site, and I've had no luck trying to reproduce on my own. Can I get the URL to your store please?
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Our Zip Code being entered in shipping information
We just had one come in yesterday. We are in TX and the customer is in CA. The browser was IE 9.0. This was the customer's first order with us, and the billing and shipping address are the same (ie. only one address in their address book). Here are their page views, in case that helps:
5/14/2014 4:38:05 PM /Logout.aspx
5/14/2014 4:37:51 PM /Members/MyOrder.aspx?OrderNumber=125527
5/14/2014 4:36:47 PM /Checkout/Receipt.aspx?OrderNumber=125527
5/14/2014 4:36:47 PM /Checkout/Payment.aspx
5/14/2014 4:36:32 PM /Checkout/Payment.aspx
5/14/2014 4:36:24 PM /Checkout/Payment.aspx
5/14/2014 4:36:23 PM /Checkout/ShipMethod.aspx
5/14/2014 4:36:13 PM /Checkout/ShipMethod.aspx
5/14/2014 4:36:11 PM /Checkout/EditBillAddress.aspx
5/14/2014 4:34:58 PM /Checkout/EditBillAddress.aspx
5/14/2014 4:34:51 PM /Checkout/Default.aspx
5/14/2014 4:34:29 PM /Checkout/Default.aspx
5/14/2014 4:34:28 PM /Basket.aspx
5/14/2014 4:34:00 PM /Basket.aspx
5/14/2014 4:33:46 PM /Basket.aspx
5/14/2014 4:33:38 PM /Basket.aspx
5/14/2014 4:33:37 PM /product.aspx?productid=947
5/14/2014 3:49:31 PM /webpage.aspx?webpageid=15
5/14/2014 3:47:48 PM /product.aspx?productid=947
5/14/2014 4:38:05 PM 141.248.95.124 GET /Logout.aspx 0ms IE 9.0
5/14/2014 4:37:51 PM 141.248.95.124 GET /Members/MyOrder.aspx?OrderNumber=125527 0ms IE 9.0
5/14/2014 4:36:47 PM 141.248.95.124 GET /Checkout/Receipt.aspx?OrderNumber=125527 0ms IE 9.0
5/14/2014 4:36:47 PM 141.248.95.124 POST /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:32 PM 141.248.95.124 POST /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:24 PM 141.248.95.124 GET /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:23 PM 141.248.95.124 POST /Checkout/ShipMethod.aspx 0ms IE 9.0
5/14/2014 4:36:13 PM 141.248.95.124 GET /Checkout/ShipMethod.aspx 0ms IE 9.0
5/14/2014 4:36:11 PM 141.248.95.124 POST /Checkout/EditBillAddress.aspx 0ms IE 9.0
5/14/2014 4:34:58 PM 141.248.95.124 GET /Checkout/EditBillAddress.aspx 0ms IE 9.0
5/14/2014 4:34:51 PM 141.248.95.124 POST /Checkout/Default.aspx 0ms IE 9.0
5/14/2014 4:34:29 PM 141.248.95.124 GET /Checkout/Default.aspx 0ms IE 9.0
5/14/2014 4:34:28 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:34:00 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:46 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:38 PM 141.248.95.124 GET /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:37 PM 141.248.95.124 POST /product.aspx?productid=947 0ms IE 9.0 Copper Mesh
5/14/2014 3:49:31 PM 141.248.95.124 GET /webpage.aspx?webpageid=15 0ms IE 9.0 Contact Us
5/14/2014 3:47:48 PM 141.248.95.124 GET /product.aspx?productid=947 0ms IE 9.0 Copper Mesh
5/14/2014 4:38:05 PM /Logout.aspx
5/14/2014 4:37:51 PM /Members/MyOrder.aspx?OrderNumber=125527
5/14/2014 4:36:47 PM /Checkout/Receipt.aspx?OrderNumber=125527
5/14/2014 4:36:47 PM /Checkout/Payment.aspx
5/14/2014 4:36:32 PM /Checkout/Payment.aspx
5/14/2014 4:36:24 PM /Checkout/Payment.aspx
5/14/2014 4:36:23 PM /Checkout/ShipMethod.aspx
5/14/2014 4:36:13 PM /Checkout/ShipMethod.aspx
5/14/2014 4:36:11 PM /Checkout/EditBillAddress.aspx
5/14/2014 4:34:58 PM /Checkout/EditBillAddress.aspx
5/14/2014 4:34:51 PM /Checkout/Default.aspx
5/14/2014 4:34:29 PM /Checkout/Default.aspx
5/14/2014 4:34:28 PM /Basket.aspx
5/14/2014 4:34:00 PM /Basket.aspx
5/14/2014 4:33:46 PM /Basket.aspx
5/14/2014 4:33:38 PM /Basket.aspx
5/14/2014 4:33:37 PM /product.aspx?productid=947
5/14/2014 3:49:31 PM /webpage.aspx?webpageid=15
5/14/2014 3:47:48 PM /product.aspx?productid=947
5/14/2014 4:38:05 PM 141.248.95.124 GET /Logout.aspx 0ms IE 9.0
5/14/2014 4:37:51 PM 141.248.95.124 GET /Members/MyOrder.aspx?OrderNumber=125527 0ms IE 9.0
5/14/2014 4:36:47 PM 141.248.95.124 GET /Checkout/Receipt.aspx?OrderNumber=125527 0ms IE 9.0
5/14/2014 4:36:47 PM 141.248.95.124 POST /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:32 PM 141.248.95.124 POST /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:24 PM 141.248.95.124 GET /Checkout/Payment.aspx 0ms IE 9.0
5/14/2014 4:36:23 PM 141.248.95.124 POST /Checkout/ShipMethod.aspx 0ms IE 9.0
5/14/2014 4:36:13 PM 141.248.95.124 GET /Checkout/ShipMethod.aspx 0ms IE 9.0
5/14/2014 4:36:11 PM 141.248.95.124 POST /Checkout/EditBillAddress.aspx 0ms IE 9.0
5/14/2014 4:34:58 PM 141.248.95.124 GET /Checkout/EditBillAddress.aspx 0ms IE 9.0
5/14/2014 4:34:51 PM 141.248.95.124 POST /Checkout/Default.aspx 0ms IE 9.0
5/14/2014 4:34:29 PM 141.248.95.124 GET /Checkout/Default.aspx 0ms IE 9.0
5/14/2014 4:34:28 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:34:00 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:46 PM 141.248.95.124 POST /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:38 PM 141.248.95.124 GET /Basket.aspx 0ms IE 9.0
5/14/2014 4:33:37 PM 141.248.95.124 POST /product.aspx?productid=947 0ms IE 9.0 Copper Mesh
5/14/2014 3:49:31 PM 141.248.95.124 GET /webpage.aspx?webpageid=15 0ms IE 9.0 Contact Us
5/14/2014 3:47:48 PM 141.248.95.124 GET /product.aspx?productid=947 0ms IE 9.0 Copper Mesh
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Our Zip Code being entered in shipping information
I checked the store. And to me it seems something related to estimate shipping cost feature at basket page and guest checkout. At first run I started a new anonymous session. I added a product to cart and attempted to checkout using guest checkout option. At the billing address page the zip code field was not populated.CGrouse wrote:http://www.FireFold.com
However for my next attempt, with a new anonymous session, continued for same steps by adding a product and guest checkout. Browsed for basket page and entered my zip code "90008" for shipping estimate. Now when I continued for guest checkout, at bill address page the zip code field was per-populated with a different zip code then I have entered for shipping estimate.
I repeated the same test with the latest builds locally at my system and was not able to reproduce the issue. Not sure if it is some issue with older releases or result of some customization with your basket shipping estimate control?
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Our Zip Code being entered in shipping information
Which version of AC Gold are you at?
Re: Our Zip Code being entered in shipping information
To my knowledge, there are no customizations to the basket shipping estimate control. The only thing was I turned off the state field, but this was happening long before I did that. Otherwise it should be functioning just as Able designed.Naveed wrote:I checked the store. And to me it seems something related to estimate shipping cost feature at basket page and guest checkout. At first run I started a new anonymous session. I added a product to cart and attempted to checkout using guest checkout option. At the billing address page the zip code field was not populated.CGrouse wrote:http://www.FireFold.com
However for my next attempt, with a new anonymous session, continued for same steps by adding a product and guest checkout. Browsed for basket page and entered my zip code "90008" for shipping estimate. Now when I continued for guest checkout, at bill address page the zip code field was per-populated with a different zip code then I have entered for shipping estimate.
I repeated the same test with the latest builds locally at my system and was not able to reproduce the issue. Not sure if it is some issue with older releases or result of some customization with your basket shipping estimate control?
Re: Our Zip Code being entered in shipping information
We have not made any customizations to the basket shipping estimate, and do not have guest checkout enabled.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Our Zip Code being entered in shipping information
@CGrouse
You are at R5?
And @Brewhaus
you are at R6?
right?
Is the bug reproducible in all browsers? FireFox, IE, Chrome?
You are at R5?
And @Brewhaus
you are at R6?
right?
Is the bug reproducible in all browsers? FireFox, IE, Chrome?
Re: Our Zip Code being entered in shipping information
Correct. So far I've confirmed it happening in Chrome, IE and Safari.ForumsAdmin wrote:@CGrouse
You are at R5?
right?
Is the bug reproducible in all browsers? FireFox, IE, Chrome?
Re: Our Zip Code being entered in shipping information
Yes, we are on R6. I have only confirmed the browser for the one instance. The next time it happens I will check the browser, etc., again.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Our Zip Code being entered in shipping information
I can reproduce at both sites (firefold.com and brewhaus.com)
I noticed that Brewhaus.com had the store's zip code pre-populated for both the billing form and the shipping estimate form.
For firefold.com, the billing page is more customized, so I am testing on a R6 build now. When I was testing on R7, I could not reproduce the issue.
If you get a minute, can you both update here and give us a detail configuration for your tax rule. Any zones or groups that it applies to? Address nexus billing or shipping?
I noticed that Brewhaus.com had the store's zip code pre-populated for both the billing form and the shipping estimate form.
For firefold.com, the billing page is more customized, so I am testing on a R6 build now. When I was testing on R7, I could not reproduce the issue.
If you get a minute, can you both update here and give us a detail configuration for your tax rule. Any zones or groups that it applies to? Address nexus billing or shipping?
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Our Zip Code being entered in shipping information
Ok, I can finally reproduce it consistently. First, you have to use the shipping estimate control from the basket.aspx page
and
Taxes must be active for the product being purchased. The bug here is that the taxes are being calculated before we know what the customer's billing address is.
Only when you do both of these together (as a new user) will the postal code pre-populate with the store's zip. I am going to try and reproduce this in R7 now...
and
Taxes must be active for the product being purchased. The bug here is that the taxes are being calculated before we know what the customer's billing address is.
Only when you do both of these together (as a new user) will the postal code pre-populate with the store's zip. I am going to try and reproduce this in R7 now...
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Our Zip Code being entered in shipping information
We have just one tax code, and it is applicable in just one state (TX). It applies to all groups (no filter) and is based on the shipping address.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Our Zip Code being entered in shipping information
I have reported this as a bug. Here are the steps to reproduce:
1. Setup a store with default warehouse (e.g. Iowa - 50540)
2. Create a zone for the same state the store warehouse is in (e.g. all of Iowa)
3. Enable tax (use default settings)
4. Create a tax rule that applies to the zone created in Step 2.
5. Make sure the tax rule has a nexus for Shipping Address
6. Apply the tax to a shippable product & make sure there is a shipping method available.
7. With a different browser or new anonymous user, add the taxable product to the basket.
8. Use the shipping estimate control from the basket.aspx page (use a zip outside of the tax zone)
9. Proceed to the next /checkout/default.aspx page. Use Guest Checkout or New Registration options.
From the Checkout/EditBillAddress.aspx page, the Zip Code will be pre-populated with the default store warehouse zip. If you return to the basket page, the shipping estimate control will also have the zip code pre-populated with the default warehouse postal code.
The problem only presents itself when the tax nexus is set to Shipping Address. With Billing Address, I cannot reproduce. Also, the Shipping Estimate control somehow triggers this to happen. If you don't use shipping estimator, then you cannot reproduce.
I'll update here after the developers can review the issue.
1. Setup a store with default warehouse (e.g. Iowa - 50540)
2. Create a zone for the same state the store warehouse is in (e.g. all of Iowa)
3. Enable tax (use default settings)
4. Create a tax rule that applies to the zone created in Step 2.
5. Make sure the tax rule has a nexus for Shipping Address
6. Apply the tax to a shippable product & make sure there is a shipping method available.
7. With a different browser or new anonymous user, add the taxable product to the basket.
8. Use the shipping estimate control from the basket.aspx page (use a zip outside of the tax zone)
9. Proceed to the next /checkout/default.aspx page. Use Guest Checkout or New Registration options.
From the Checkout/EditBillAddress.aspx page, the Zip Code will be pre-populated with the default store warehouse zip. If you return to the basket page, the shipping estimate control will also have the zip code pre-populated with the default warehouse postal code.
The problem only presents itself when the tax nexus is set to Shipping Address. With Billing Address, I cannot reproduce. Also, the Shipping Estimate control somehow triggers this to happen. If you don't use shipping estimator, then you cannot reproduce.
I'll update here after the developers can review the issue.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Our Zip Code being entered in shipping information
Thank you, Katie. It is great to know that the problem has now been found so that it can be reported and fixed.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Our Zip Code being entered in shipping information
Nicely done Katie!
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Our Zip Code being entered in shipping information
Thanks to Katie for getting this reproduced.
This is happening because of something we are doing in tax calculator. A temporary address created during tax calculation causes this. We have fixed this but we are in process of detailed verification.
This is happening because of something we are doing in tax calculator. A temporary address created during tax calculation causes this. We have fixed this but we are in process of detailed verification.
Re: Our Zip Code being entered in shipping information
Any updates on this? We would love to get this fixed.
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Our Zip Code being entered in shipping information
It has already been fixed in R8.
http://help.ablecommerce.com/upgrades/a ... old_r8.htm
http://help.ablecommerce.com/upgrades/a ... old_r8.htm
Re: Our Zip Code being entered in shipping information
So no fix available without completely upgrading to R8?
Re: Our Zip Code being entered in shipping information
The fix is in back-end code. If you have full source code, find CalculateTaxForDelivery method inside CommerceBuilder/Services/Taxes/AbleCommerce
AbleCommerceTax.cs, locate the following code:
and replace with the below code:
AbleCommerceTax.cs, locate the following code:
Code: Select all
// ENSURE SHIPPING ADDRESS IS VALID
if (!shippingAddress.IsValidForTax)
{
shippingAddress.CountryCode = billingAddress.CountryCode;
shippingAddress.Province = AddressHelper.GetProvinceName(billingAddress.ProvinceId);
shippingAddress.PostalCode = billingAddress.PostalCode;
}
Code: Select all
// ENSURE SHIPPING ADDRESS IS VALID
if (!shippingAddress.IsValidForTax)
{
// CREATE A TEMPORARY ADDRESS FOR TAX CALCULATION ONLY
shippingAddress = new Address();
shippingAddress.CountryCode = billingAddress.CountryCode;
shippingAddress.Province = AddressHelper.GetProvinceName(billingAddress.ProvinceId);
shippingAddress.PostalCode = billingAddress.PostalCode;
}
Re: Our Zip Code being entered in shipping information
Thanks so much! This will help tons.
Re: Our Zip Code being entered in shipping information
R5 full source code does not have a method .IsValidForTax on the Address object. For R5 source, you must also modify /Users/Address.cs and insert this code immediately below the IsValid method:
Once that is done, the provided fix will work in R5.
Code: Select all
/// <summary>
/// Gets a value indicating whether address is valid for tax calculation
/// </summary>
public virtual bool IsValidForTax
{
get
{
if (string.IsNullOrEmpty(this.CountryCode)) return false;
return true;
}
}
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com