Cudos for this module, about time that we have something to assist users in having a rough idea about additional costs before getting deep within the order. I am running into an issue though that when I first run it the only thing that is coming back is "free shipping from a pickup location", if I run it again without a page reload I then also get the results from the UPS module.

Suggestions on where to start debugging?

Comments

cmriley created an issue.

rszrama’s picture

Hmm, I'm not sure what might be going on here. I hadn't tried it with a 3rd party shipping method yet, just flat rate. You might dump out the form state and order to see what differs from the first attempt to the second. Could be there's some missing information the first go-round that accidentally gets saved to the order for use by the second request.

andyg5000’s picture

I think this happens because there are ajax callbacks on the state and zip code form elements which cause the form to get submitted prematurely. We had a similar issue reported where the "no rates available" flashes before the actual rates because the form was submitted 2x.

I think removing those callbacks would provide for a better interface that's easier to maintain.