My god... how is the shipping method stored?

WillemB <[email protected]> 13 Sep 2003 23:15:13 -0000
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <17d98bb90b5349348591c6b58cbfa2f3@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=229128#229128
----------------------------------------------------------------

Hi all, 

Yet again a problem... I have managed to fix all my previous problems in the absence of any replies. But of course I have already created a new one. I'm hoping once more that I'll find someone who can help me.

I have been walking through the checkout pages for ages now, and I just can't seem to figure out how in the world the selected shipping method is stored. See, what I want to do is set the shipping method by code, without giving the user a choice. To make it more complicated, I need to do this on checkout_payment, not on checkout_shipping.

I know the variable involved is $shipping, but I just can't seem to find out how to write a value to it that actually works. I only need to set the damn thing to select FLAT FEE shipping. In all my attempts is simply shows up as "F" on the confirmation page, with a value of 0. Damn!

Please help... I'm going nuts.