Page 1 of 1

Failed to obtain rate quote for the given ship method error

Posted: Tue Jul 21, 2009 2:43 pm
by zipposteve
We are not using the integrated shipping methods, as we have all flat rates depending upon the weight of the order. We have deleted the Shipping Quote box from all pages that we are aware of.

Yet we receive the message "Failed to obtain rate quote for the given ship method 'First Class Mail (Delivery Time-Usually 5 To 10 Days)'" or "Failed to obtain rate quote for the given ship method 'Priority Mail (Delivery Time- Usually 3 To 4 Days)' at least once daily. When this happens we do not receive the order, and the customer can go no further on checkout.

What causes this problem and how can we fix it?

Thank you for any help.

Re: Failed to obtain rate quote for the given ship method error

Posted: Wed Jul 22, 2009 6:08 am
by mazhar
Most probably this is something due to your customization, we haven't noticed any thing like this with standard package. Better instead of removing BasketShippingEstimate control set its Visible property to false.

Re: Failed to obtain rate quote for the given ship method error

Posted: Wed Jul 22, 2009 8:18 am
by zipposteve
Thank you very much for your reply and help.
I saved a copy of the original page before I made the customization, and I fully agree with you that the customization is probably causing the problem.

Is the visible property I need to change to false in the basketshippingestimate.ascx or basketshippingestimate.ascx.cs ?
Can you give me an example of the string where it is located?

Thank you again.

Re: Failed to obtain rate quote for the given ship method error

Posted: Wed Jul 22, 2009 8:47 am
by mazhar
Edit the BasketShippingEstimate.ascx.cs file and put

Code: Select all

this.Visible = false;
statement in its Page_Load method so that it looks like something as below

Code: Select all

 protected void Page_Load(object sender, EventArgs e)
    {
        this.Visible = false;
.......................................
.......................................
.......................................
}
where dotted lines represents old code present in method.