Bill to Address different than Ship to address causes issues

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
innis1
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Mar 02, 2009 1:12 pm

Bill to Address different than Ship to address causes issues

Post by innis1 » Mon Mar 02, 2009 1:20 pm

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Mar 03, 2009 8:28 am

what is your AbleCommerce version information.

innis1
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Mar 02, 2009 1:12 pm

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

Post by innis1 » Tue Mar 03, 2009 8:36 am

VERSION: 7.1
BUILD: 10875

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Mar 03, 2009 9:04 am

unable to reproduce the problem. Try to reproduce it here
http://demo.ablecommerce.com/ac71_stable/default.aspx

innis1
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Mar 02, 2009 1:12 pm

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

Post by innis1 » Thu Mar 05, 2009 10:38 am

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.

pete
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Tue Apr 14, 2009 2:56 pm

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

Post by pete » Tue Apr 14, 2009 3:03 pm

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.

pete
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Tue Apr 14, 2009 2:56 pm

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

Post by pete » Wed Apr 15, 2009 10:26 am

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.

mdub
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Sat Jun 06, 2009 5:02 pm

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

Post by mdub » Fri Jul 03, 2009 7:46 am

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.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

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

Post by Logan Rhodehamel » Fri Jul 03, 2009 12:40 pm

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
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

mdub
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Sat Jun 06, 2009 5:02 pm

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

Post by mdub » Sat Jul 04, 2009 7:44 am

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.

krittleb
Commander (CMDR)
Commander (CMDR)
Posts: 111
Joined: Tue Jan 06, 2009 11:27 pm

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

Post by krittleb » Fri Jul 24, 2009 6:44 am

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!

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

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

Post by jmestep » Fri Jul 24, 2009 8:43 am

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?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

krittleb
Commander (CMDR)
Commander (CMDR)
Posts: 111
Joined: Tue Jan 06, 2009 11:27 pm

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

Post by krittleb » Fri Jul 24, 2009 9:08 am

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:)

User avatar
nborelli
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sat Nov 17, 2007 2:03 pm
Location: Soquel, CA
Contact:

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

Post by nborelli » Tue Oct 06, 2009 3:20 pm

We are seeing this on our site as well. Is there a definitive answer on how to correct this problem yet?
Neal Borelli
Nubius Organics (part time for my wife)
http://www.nubiusorganics.com

User avatar
nborelli
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sat Nov 17, 2007 2:03 pm
Location: Soquel, CA
Contact:

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

Post by nborelli » Tue Oct 06, 2009 9:01 pm

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
Neal Borelli
Nubius Organics (part time for my wife)
http://www.nubiusorganics.com

Post Reply