To test real time rate lookups, do the following:
1. Confirm CURL and OpenSSL are working
Real time rates require both CURL and OpenSSL. To make sure they are working properly, open the diag_curl.php file in your browser, which is located in your squirrelcart folder. The URL should be similar to:
http://YourWebSite.com/squirrelcart/diag_curl.php
- Click the first link to test a regular HTTP connection via CURL. Be sure to wait for the page to load. It may take a little while. If this page loads properly, continue.
- Click the second link to test an SSL connection via CURL. If this page loads properly, CURL and OpenSSL are working properly, and you can continue below. If they are not working properly, you will need to contact your web host for resolution.
2. Specify ship from address
By default, the address your packages will ship from is controlled by your company's address in store settings. You can specify different ship from locations by using the Warehouse feature.
3. Check Product Weights
In order for real time rates to work, Squirrelcart needs to know the weight of your products. This is controlled by the weight field on your product records. Ensure that it is populated for all your products before testing.
4. Disable Shipping Rules
While real time rates work fine in combination with shipping rules, it is best to disable your shipping rules when testing real time rates for the first time.
5. Enable Shipping Methods
Enable at least 1 shipping method for the courier that you are testing.
6. Place an order
Go to your storefront, and place an order. Be sure to specify a valid shipping address, or real time rates will not work. If the test was successful, you will be prompted to choose a shipping rate from a list of rates returned via RTR.