you need to loop through the shipping rules to find the one that has a value greater than 0 and use that to set the session:
for example:
<?php
$_SESSION['shipName'] = "";
if (!$eCart1->Rules_EOF("Shipping")) {
while (!$eCart1->Rules_EOF("Shipping")) {
if ($eCart1->RuleLooperValue("Shipping") > 0) {
$_SESSION['shipName'] .= " ".$eCart1->RuleLooperName("Shipping")." ";
}
$eCart1->Rules_MoveNext("Shipping");
}
$eCart1->Rules_MoveFirst("Shipping");
}
?>
make sure that code comes before the store order summary code, go to the bindings panel, click the plus button and select Session variable, name the session binding shipName
in the store order summary behavior, use the shipName binding to store the shipping method.