Shipping is not a valid variable for an uploaded cart. Use handling_cart instead:
<input type="hidden" name="handling_cart" value="<%=WA_eCart_GetShipping(spCART)%>">
see the html variable reference for details on valid variables:
e_howto_html_Appx_websitestandard_htmlvariables