Page 1 of 1

Bill to Address different than Ship to address causes issues

Posted: Mon Mar 02, 2009 1:20 pm
by innis1
We are using the onepagecheckout.cs file straight out of the box. When a visitor to the site tries to check out by choosing a different ship to address than their bill to address, a checkout warning appears on the screen.

Checkout Message

Your order has not been completed and payment was not processed.
Your basket appears to have been modified during checkout. Please verify the contents of your order and resubmit your payment.

If any or all of the shipping methods are missing, there may have been a problem communicating with the shipper. Click here to restart the checkout.

Any help would be appreciated.

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Mar 03, 2009 8:28 am
by mazhar
what is your AbleCommerce version information.

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Mar 03, 2009 8:36 am
by innis1
VERSION: 7.1
BUILD: 10875

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Mar 03, 2009 9:04 am
by mazhar
unable to reproduce the problem. Try to reproduce it here
http://demo.ablecommerce.com/ac71_stable/default.aspx

Re: Bill to Address different than Ship to address causes issues

Posted: Thu Mar 05, 2009 10:38 am
by innis1
We have traced the issue back to the saved versus current basket hash values. They are not the same, which is what is throwing the message to the checkout screen.

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Apr 14, 2009 3:03 pm
by pete
Has this item been fixed? If so.. how did you fix it? We're experiencing the same problem. It still exists in 7.2's One Page Checkout also.

Re: Bill to Address different than Ship to address causes issues

Posted: Wed Apr 15, 2009 10:26 am
by pete
mazhar wrote:unable to reproduce the problem. Try to reproduce it here
http://demo.ablecommerce.com/ac71_stable/default.aspx
If you could enable anonymous checkout/onepagecheckout on this demo site I would gladly test it.

Thanks.

Re: Bill to Address different than Ship to address causes issues

Posted: Fri Jul 03, 2009 7:46 am
by mdub
Hey guys - we too are experiencing this issue and was wondering if you found a solution to the problem you can share?

Thanks in advance.

Re: Bill to Address different than Ship to address causes issues

Posted: Fri Jul 03, 2009 12:40 pm
by Logan Rhodehamel
This is identified as bug 8051. A fix is available based on version:

7.0.1: http://bugs.ablecommerce.com/show_bug.cgi?id=8131
7.0.2: http://bugs.ablecommerce.com/show_bug.cgi?id=7825

Re: Bill to Address different than Ship to address causes issues

Posted: Sat Jul 04, 2009 7:44 am
by mdub
Thanks Logan. I have applied that patch but it didn't clear up the problem. Anything else to try? Again, it is when customer enters a different ship to address than bill to address and we get the following error so that checkout cannot proceed.

Your order has not been completed and payment was not processed.

Your cart appears to have been modified during checkout. Please verify the contents of your order and resubmit your payment.

Re: Bill to Address different than Ship to address causes issues

Posted: Fri Jul 24, 2009 6:44 am
by krittleb
Hi Logan,

We are having the same problem with version 7.0.3.

We have had several upset customers call/e-mail about the shopping cart not working due to this exact problem. We really need a fix ASAP!

One lady finally figured out that it was due to the different ship-to address so she switched it to her billing but nobody is there during the day to get the package.

Please let me know what can be done!

Re: Bill to Address different than Ship to address causes issues

Posted: Fri Jul 24, 2009 8:43 am
by jmestep
I tried on a test 7.0.3 site and didn't get the error message. Do you think there might have been something wrong with her shipping address?

Re: Bill to Address different than Ship to address causes issues

Posted: Fri Jul 24, 2009 9:08 am
by krittleb
We actually have had a large number of people tell us about this. I also went and tried it myself on our site and got the same error message.

If anyone wants to check it out, our site is www.hairbowcenter.com

We are set up for authorization only on the credit card, in case you accidentally order:)

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Oct 06, 2009 3:20 pm
by nborelli
We are seeing this on our site as well. Is there a definitive answer on how to correct this problem yet?

Re: Bill to Address different than Ship to address causes issues

Posted: Tue Oct 06, 2009 9:01 pm
by nborelli
I did a little deductive reasoning to see if I could figure out what was happening to make this error occur and this is what I came up with:

Facts:
1. We did not have this problem on our site until we changed the design of our site.
2. Our site http://www.nubiusorganics.com and Kristi's http://www.hairbowcenter.com site both have a basket summary that is in the header even on the checkout page.
3. My custom mini-basket/basket summary contains the code below taken from the standard mini-basket.

Here is the original suspect code fragment:

Code: Select all

			basket.Package(true);
			basket.Recalculate();
			//VALIDATE THE BASKET
			List<string> basketMessages = new List<string>();
			bool basketValid = basket.Validate(out basketMessages);        
			//DISPLAY ANY WARNING MESSAGES
			if (!basketValid)
			{
				Session["BasketMessage"] = basketMessages;
				//Redirect to basket page where these error messages will be displayed
				Response.Redirect("~/Basket.aspx");
			}
My theory was that this code was causing the basket to actually be updated and this was what was causing the problem during checkout. To test my theory, I added a property to my popup mini-basket control called InCheckout that looks like this:

Code: Select all

	private bool InCheckout
	{
		get
		{
			return Request.Url.AbsoluteUri.ToLower().Contains(Page.ResolveUrl(NavigationHelper.GetCheckoutUrl()).ToLower());
		}
	}
I am sure this property getter could be written better, but I just did something quick and dirty. I then encapsulated the suspected logic in a "if (!InCheckout)" statement and tested again with a different billing and shipping address. And guess what, it worked! This seems to indicate that the problem occurs when the mini-basket (or a control like the mini-basket) is displayed on the OnePageCheckout page. On our site it is included in a popup in the header, but I suspect that the same thing would happen if it were displayed elsewhere on the page.

Here is my new code:

Code: Select all

		if (!InCheckout)
		{
			basket.Package(true);
			basket.Recalculate();
			//VALIDATE THE BASKET
			List<string> basketMessages = new List<string>();
			bool basketValid = basket.Validate(out basketMessages);        
			//DISPLAY ANY WARNING MESSAGES
			if (!basketValid)
			{
				Session["BasketMessage"] = basketMessages;
				//Redirect to basket page where these error messages will be displayed
				Response.Redirect("~/Basket.aspx");
			}
		}
I hope this is of use to some of you.

Regards,
Neal