“Your server returned no data in its reply; Checkout requires data of type merchant-calculation-results in reply to merchant-calculation-callback”
Sometimes it also says
“We timed out waiting for your server at http://www.MYSITE.com/magento/googlecheckout/api/; the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests.
If you could help fix this, that would be much appreciated!
Thank you!
Lisa
Note: This feature is only supported for shipments sent to and from U.S. postal addresses. In addition, any costs associated with carrier-calculated shipping methods must be specified in U.S. dollars (USD).
so I think it might be a problem that you are not sending from and to U.S. postal addresses.
please, double check it with google.
also it could be good if you contact your hosting provider, because it is abnormal to get such errors, especially sometimes with timeouts, so they will check that google responses come in correctly.
it will be helpful to get more info from integration console. what request has google sent you? they normally publish it in the console.
I usually just get “Your server returned no data in its reply”. Only ocassionally do I get the time-outs.
I have also read this on Google groups: “I can let you know that Google Checkout sends an name/value pair HTML
callback over an HTTPS callback URL, and require a similar response
back from your system. “
Just to confirm - the callback URL should be:
http://www.SITE.com/magento/index.php/googlecheckout/api
Callback method XML, Provide the first name, Return the buyer’s ship-to phone number, Return the buyer’s billing phone number checked in GC integration settings. Correct?
This is the last one I got:
Your server returned no data in its reply; Checkout requires data of type merchant-calculation-results in reply to merchant-calculation-callback
setting seems to be correct, but Royal Mail is not supported shipping carrier at the moment, so we are unable to estimate shipping rates for this carrier. how do you want to make it working? I didn’t quite get everything behind the scene
I have just named the shipping “royal mail” - it is still merchant calculated. If you want to PM me, I’ll send you my admin log-in to my test site if that helps, and grant access to my GC sandbox account.
Many thanks!
Lisa
I still cannot understand what you did.
can you publish here step by step “manual” of steps I need to follow to reproduce the problem and get blank responses on google requests asking to estimate “royal mail” ?..
probably that there is any problem or misunderstanding on any step performed…
well, I understood that you are not using carrier calculations, but merchant calculations.
it is also clear about table rates now. that I was aware about how you did “Royal Mail"…
so the next step I need you to do is to turn on debug mode for google api (Magento admin config option), make a few tests, make dump of googlecheckout_api_debug table and attach it here, so I will be able to check how responses and google request comes inside Magento system. it will help us to investigate the problem, find possible reasons and solutions.
I have attached the database dump as requested. I hope that gives some insight into what the problem is.
I have had to change a couple of entries for privacy reasons (database name etc), as I could not PM you - it bounced. This should not affect anything, but do let me know if you want me to email you the original.
Many thanks for looking into this, you’re a star!
Lisa
php_flag display_errors off php_value error_reporting 0
delete it if found.
add the next lines to your .htaccess:
php_flag display_errors on php_value error_reporting E_ALL & ~E_NOTICES
actually it seems that you have errors output turned off and merchant callback script fails in any reason, but we see no result in the integration console.
so after you do required changes and enable error reporting and displaying errors run your test with google checkout one-two times more and check google integration console. let me know what you will see there. ty!