Realtime Rates Anyone?

If you are using real time rates with a one page checkout are you noticing a 3-4 second load time

for each step?



If I have USPS real time rates enabled it takes 3-4 seconds each step or action

to load on the checkout (such as continuing to Payment step, going back to

change shipping or billing addresses, selecting a different payment option, etc…)



If I disable realtime rates it takes less than 2 seconds to load each step.



I'm just trying to discover if its my site or just the way things are because of the remote

calls that have to be made.

Hello solesurvivor,



Thank you for your message.



If the version of your CS-Cart installation is 2.2.4, the problem might be caused by a well-known bug in this version. In order to fix it you should replace the following part of code:


if (function_exists('curl_multi_init') && fn_check_curl() && false) {
$allow_multithreading = true;
$h_curl_multi = curl_multi_init();
$threads = array();
} else {
$allow_multithreading = false;
}




with this one:


if (function_exists('curl_multi_init') && fn_check_curl()) {
$allow_multithreading = true;
$h_curl_multi = curl_multi_init();
$threads = array();
} else {
$allow_multithreading = false;
}




in the fn.cart.php file located in the core directory of your CS-Cart installation.



If the version of your CS-Cart installation is 3.0.x, the problem requires the examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.





Pavel Zyukin

CS-Cart Support team