Country Based Shipping Setup

Hello
Can you assist me in the setup of Country Based Shipping
I have installed and tried several setting and only get several errors on product pages.
I want to charge a flat fee of 2.00 for all of the United States.

I am getting error on product page:
Deprecated: reference_get_country_name is deprecated. Use instead reference::country($code)->name in ~/includes/functions/func_reference.inc.php (Line 22)

Using Code:
Rate Tables Map
US;;Table1

Rate Tables
Table1;9999:2.00

Thanks
Dave
tim
II moved your thread to the addon category.
You receive this error because the module is not updated for LiteCart 2.x

The error message is the key to the solution. Substitute your code functions::reference_country_get_name(code) with reference::country(code)->name.

I am not by the computer to do this for you this evening.

Btw your tables looks right.
I did that and now I get error Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM), expecting '(' in /home/scanuxrv/screenprotectorcovers.com/includes/functions/func_reference.inc.php on line 21
tim
Updated for LiteCart 2.x. See addon for download.
Did that and the errors are solved, but the shipping cost is not added to the Subtotal at checkout?
tim
Shipping costs are added after the subtotal using the order total module ot_shipping_fee.
Not wanting to hijack this thread, but, is this the configuration information TiM is talking about for the issue I am having with the shipping module? Because (as my other thread suggests) it isn't working for me and I don't know what I need to do to fix it.