Shipping cost problem (different shipping and billing addr)

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
zxcjason
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Wed Jul 29, 2009 3:56 pm

Shipping cost problem (different shipping and billing addr)

Post by zxcjason » Thu Apr 22, 2010 2:02 am

We are having some problem with the shipping cost in the checkout process. When our user select a shipping address different than the billing address, the shipping cost and taxes is not added to the shopping cart, so the system is not charging them shipping and tax. This problem does not occur when the user select the "ship to my billing address" option (after the clicking Continue, shipping cost of the default shipping options is added to the basket in the database)

I tried debugging it but had no success, although I did find out approx where the problem occur.

We are using the one page checkout (ConLib/OnePageCheckout.ascx) - After continuing the user enter billing and shipping address, and click "Continue", the ContinueButton_Click() function is called, which in turns call RecalculateBasket(). In RecalculateBasket(), I can see that the tax and shipping was in fact added to the basket. However, after ContinueButton_Click(), the basket get reset for some reason, and I can see that by the time Page_PreRender() is called, the shipping and tax are gone. In addition, the ShipMethodId in the database (in table BasketShipments) got set to NULL, whereas it has the proper ID when user select the billing address as the shipping address.

I suspected InitializeBasket() might have been called for some reason after ContinueButton_Click(), but it actually didn't get called. Also Page_Init() and Page_Load() didn't get called after ContinueButton_Click()

Something else I tried but didn't help:
1. Add mores shipping options (we only have one). When shipping methods get changed, the page get updated, but still no shipping cost and tax.
2. Disabling stuff on the sidebar like promotion code and order summary.
3. Disabling the InitalizeBasket() function

Any ideas where it could cost such problem to happen? Any idea about how to fix this problem?

TTMedia
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 83
Joined: Mon Dec 03, 2007 11:49 am

Re: Shipping cost problem (different shipping and billing addr)

Post by TTMedia » Tue Apr 27, 2010 11:46 am

Can an AC tech member please reply to this post.

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

Re: Shipping cost problem (different shipping and billing addr)

Post by jmestep » Tue Apr 27, 2010 12:07 pm

I'm not a tech member, but haven't seen this on a site yet. What build are you using and have you customized the checkout page?
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

User avatar
Michael Ward
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 132
Joined: Thu Mar 03, 2005 3:00 am

Re: Shipping cost problem (different shipping and billing addr)

Post by Michael Ward » Tue Apr 27, 2010 3:31 pm

What version of AbleCommerce are you using?
Thank you for your support

Michael Ward
Image.com
Follow us on Twitter http://twitter.com/AbleCommerce/

TTMedia
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 83
Joined: Mon Dec 03, 2007 11:49 am

Re: Shipping cost problem (different shipping and billing addr)

Post by TTMedia » Tue Apr 27, 2010 11:20 pm

PLATFORM: ASP.NET
VERSION: 7.0.2
BUILD: 11659

AjaxControlToolkit: 1.0.10618.0
CommerceBuilder: 7.2.12564.0
CommerceBuilder.AbleCommerceTax: 7.2.11310.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.0.9764.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.CCH: 7.0.0.0
CommerceBuilder.Configuration: 7.2.11602.0
CommerceBuilder.CyberSource: 7.0.9310.0
CommerceBuilder.Data: 7.2.11602.0
CommerceBuilder.DataClient.Api: 7.0.2.1
CommerceBuilder.DataClient.Csv: 7.0.34.0
CommerceBuilder.DHL: 7.2.11307.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.FRBNY: 7.0.0.0
CommerceBuilder.GoogleCheckout: 7.0.10052.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.2.11284.0
CommerceBuilder.PayPal: 7.2.10840.0
CommerceBuilder.Protx: 7.1.10124.0
CommerceBuilder.Services: 7.2.11602.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.0.9728.0
CommerceBuilder.Web: 7.2.11602.0
ComponentArt.Web.UI: 2008.2.1204.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Practices.EnterpriseLibrary.Common: 2.0.0.0
Microsoft.Practices.EnterpriseLibrary.Data: 2.0.0.0
Microsoft.Practices.ObjectBuilder: 1.0.51205.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0

creativespark
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri May 23, 2008 2:59 am
Location: India
Contact:

Re: Shipping cost problem (different shipping and billing addr)

Post by creativespark » Sat May 08, 2010 10:59 am

The above problem is happening in our case as well. When One page checkout is used for 7.0.2 version ablecommerce asp.net and the payment method is changed in checkout page before final submit, the shipping and taxes revert to ZERO and error of "
Either a selected shipping method is no longer valid or a shipment has been modified during checkout. Please verify the contents of your order and resubmit your payment. " comes.

This also happens in some variation of changing the shipping address.

Infact i have seen so many posts of shipping problems in ablecommerce, am not sure why this is not being addressed. We tried the other checkout page - checkout with login - that gave another problem : -> when changing shipping address in shipaddresspage.aspx it would still show the billing address as the shipping address in the payment page.

DO you need to apply commmercebuilder.dll patch for bug 7825 ( 7.0.2 ) or is that irrelavant ? None of the pages mentioned have been customized save for some design changes, by the way.

WOuld be grateful if someone from ablecommerce can respond and help solve.

Regards,
Umesh Sethi
Sam Sethi
Website Developer
Skype: creativesparksolutions1
http://www.ecommerceoffshorebycss.com
Free tips and ecommerce guidance : http://www.ecommerceoffshorebycss.com/guidetoecommerce/

User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

Re: Shipping cost problem (different shipping and billing addr)

Post by mfreeze » Tue Jan 11, 2011 7:43 pm

All of a sudden I am getting this same error; it just started today with no changes having been made to the site. The error occurs whether I change payment methods or not but I have the same behavior with the shipping and taxes being zeroed out if the payment method is changed. The message below appears whenever a customer tries to check out.

Code: Select all

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

Either a selected shipping method is no longer valid or a shipment has been modified during checkout. Please verify the contents of your order and resubmit your payment

The site experiencing the problem is at the following level.
AbleCommerce for ASP.NET
VERSION: 7.0.4.13424
MSSQL v2008
AC SCHEMA v2000
ASP.NET TRUST: Unrestricted

The site WAS upgraded from 7.0.2 to 7.0.4.

Did anybody ever find an answer to this problem?
Mary E Freeze

Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development

http://www.ffgraphics.com

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

Re: Shipping cost problem (different shipping and billing addr)

Post by jmestep » Wed Jan 12, 2011 7:38 am

I ran across that message in 7.0.3 and it had to do with coupons, viewstate, shipping methods. What I was seeing is fixed in 7.0.5 and I think the SR2 for 7.0.4 fixes it also, if we are talking about the same problem.
http://help.ablecommerce.com/upgrades/a ... _7.0.4.htm
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

User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

Re: Shipping cost problem (different shipping and billing addr)

Post by mfreeze » Wed Jan 12, 2011 9:07 am

Unfortunately, the site is already at SR2 so whatever is causing it isn't fixed at that level.

I have tried turning off page tracking but that makes no difference.

The funny thing is that it fails in IE8, Chrome, and Safari but works in Firefox and IE9.

Does anyone from Able have any suggestions?
Mary E Freeze

Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development

http://www.ffgraphics.com

denna39
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Wed Jul 13, 2011 6:35 am

Re: Shipping cost problem (different shipping and billing addr)

Post by denna39 » Wed Jul 13, 2011 6:52 am

Has anyone discovered a solution to this problem yet?

Like the writers above, we are using the OnePageCheckout.ascx page in ConLib. When we change a shipping method or trigger any other AJAX postback on that page, the shipping method orderitem in the db is deleted and the "Either a selected shipping method is no longer valid or a shipment has been modified during checkout." error appears when attempting to check out. This occurs in IE 8 and earlier (haven't tried Chrome or Safari) but not in IE 9 or Firefox.

Through debugging, I have determined that the InitialIzeBasket() subroutine is being triggered by a Page Load when the page posts back. InitializeBasket() wipes out the shipment data for the order in the database (although a shipping mehtod is still listed - incorrectly - in the gridview on the page).

On Firefox or IE9, when a control generates a page postback, the Page Load triggers once - as a postback - and InitializeBasket() does not trigger. However, in IE8, a postback triggered by a control on the page triggers TWO page loads....the first is a postback, but the second immmediately afterwards is not. The second triggers the InitializeBasket() and wipes the shipping data.

That's as far as I've been able to get. I don't know what element of the page is triggering the second full page load....can anyone shed further light on this?

Bob
Indianapolis, IN

hamelame
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Sun Nov 06, 2011 6:44 am
Location: Los Angeles
Contact:

Re: Shipping cost problem (different shipping and billing addr)

Post by hamelame » Tue Nov 22, 2011 4:42 am

Actually I'm looking for solution as well , kindly someone can clarify then please assist me !
Regards
Hame Lame,
zetaclear | breast actives

Post Reply