Upload and Store Shipping Method in Database
I hope someone can give me an ideas for the following problem:
We have 2 shipping methods in e-Cart (FedEx and USPS) that are chosen automatically depending on the total order amount. (Orders up to $50.00 ship USPS and orders exceeding $50.00 ship FedEx).
We needed to have the chosen shipping method included into the Database so we can download the correct shipping method from the DB into our Bookkeeping system.
So I created a new field in the DB (OrderShipMethod) and linked this in the "Store Cart Summary in Database" server behavior as follows: We applied the Session Value in the eCart [Present Shipping Title] which is <?php echo $eCart1->RuleLooperName("Shipping"); ?> to the new DB column [OrderShipMethod].
The problem is that always the first shipping method in eCart is uploaded to the database regardless of the order value in the cart.
Any help would be appreciated.
Thanks a lot.