onepage checkout停留在计费上,而不是移动到下一步

Struggling from this issue since 3 days.

When i am tested the application in windows (WAMP), everything working fine. But when i am deployed the same in Linux, Billing continue button is not working.

When i clicked on “Continue” after entering details, i am seeing in firebug

http://www.domain.com/checkout/onepage/saveBilling/ 200 OK

And its staying in the same page ...

Then when i checked in apache error_log, i am seeting below error:

[error] File does not exist: /home/docs/public_html/checkout, referer: http://www.domain.com/checkout/onepage/

I dont know why its going to /home/docs/public_html/checkout ???

Am i in right way of debug? Could you please help me to resolve this issue .... Thanks & Regards ecomse

When clicking "continue" in the billing address step, the page sends an ajax post request to theMage_Checkout_OnepageController::saveBillingAction. This function is supposed to save the form data into a quote and return a JSON object containing a property "goto_section", i.e. "goto_section":"shipping_method". The success function of the ajax request picks this property up and shows the next step.

I suggest you use the firebug debugger to check if POST /checkout/onepage/saveBilling returns a valid JSON object with a goto_section element. If not - there must be something wrong with the saveBilling function. Use Xdebug and set a breakpoint to the beginning of that function to check if everything is processed properly.

Another possible problem source is a third party extension rewriting the checkout routing configuration. Are there any possible suspects in your shop? Try to deactivate them and test if that solves the problem.

An example of a valid JSON string returned by the saveBilling action:

{"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":"    <dl class=\"sp-methods\">
                <dt>Flat Rate<\/dt>
        <dd>
            <ul>
                                            <li>
                                                                   <span class=\"no-display\"><input name=\"shipping_method\" type=\"radio\" value=\"flatrate_flatrate\" id=\"s_method_flatrate_flatrate\" checked=\"checked\" \/><\/span>
                                                <label for=\"s_method_flatrate_flatrate\">Fixed                                                                        <span class=\"price\">$5.00<\/span>                                                <\/label>
                                   <\/li>
                        <\/ul>
        <\/dd>
        <\/dl>
<script type=\"text\/javascript\">
\/\/<![CDATA[
            var shippingCodePrice = {'flatrate_flatrate':5};
    
    $$('input[type=\"radio\"][name=\"shipping_method\"]').each(function(el){
        Event.observe(el, 'click', function(){
            if (el.checked == true) {
                var getShippingCode = el.getValue();
                                    var newPrice = shippingCodePrice[getShippingCode];
                    if (!lastPrice) {
                        lastPrice = newPrice;
                        quoteBaseGrandTotal += newPrice;
                    }
                    if (newPrice != lastPrice) {
                        quoteBaseGrandTotal += (newPrice-lastPrice);
                        lastPrice = newPrice;
                    }
                                checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
                return false;
            }
       });
    });
\/\/]]>
<\/script>
"},"allow_sections":["shipping"],"duplicateBillingInfo":"true"}

I faced the same problem when I was working locally.
There are other shipping methods enabled which were causing this issue.
I have disabled DHL, USPS, FedEx and UPS.
Now working fine for me.

I hope this helps.