Okay folks, this really sums up my issue with ubercart 7e!
I have a gift certificate product in my shop meaning, you
buy it for an attribute option price and then it creates
a fitting coupon for it thru the now outdated coupon module.
Druing checkout I am scanning the shopping cart if there is
a gift certificate in it and then I want to add the checkout pane
called greetingstext to take in the personal wording for the
pdf gift certificate.
My issue eversince is that when I want to check in my checkout pane
callback function whether the $arg1->products's model the $arg1
order object is empty (At times i get it filled when returning
first from the review screen).
The checkout pane is called with () but then very callback function
contains ($arg1, $arg2 and $op)...
Okay, here I have come up with a test. Ryan's uc_lead contribution
ought to contain as default lead the $arg1->order_id. simply
change the default for the form, but then you will also see that
during the checkout pane in the ordering process you do not have
the $arg1 present?? Is this an core issue, an update issue or what.
Would anybody have another solution to maybe pick up the greeting sooner
during hook_order or when the gift certificate is put into the cart??
Do you get $arg1->order_id as default for uc_lead?? Let me know how!! 



(Recall, any cart is to be linked to an order object anyhow)