I've just been notified of a new feature of GC.
A new tag allows merchant-calcullation-callback to send just the active shipping address to calculate shipping quotes. <calculation-mode>
http://code.google.com/apis/checkout...lculation-mode
This will help with the time out issue, because if a buyer had more the one address, before we need to calculate the shipping cost for each one, increasing the timeout chance.
now we calculate one per time, so calculation time is smaller
im releasing RC3 asap with this fixed.
quick fix:
googlecheckout/gcheckout.php line 412
change this:
PHP Code:
$gcheck->push('merchant-calculations');
$gcheck->element('merchant-calculations-url', $url);
$gcheck->element('accept-merchant-coupons', 'true');
//$gcheck->element('accept-gift-certificates', 'true');
$gcheck->pop('merchant-calculations');
for this
PHP Code:
$gcheck->push('merchant-calculations');
$gcheck->element('merchant-calculations-url', $url);
$gcheck->element('accept-merchant-coupons', 'true');
$gcheck->element('calculation-mode', 'SINGLE');
//$gcheck->element('accept-gift-certificates', 'true');
$gcheck->pop('merchant-calculations');
ropu
Bookmarks