Hi,
I had a look at code that I also used from Larry's book. In my implementation the $cc_number PHP variable is set when the $_POST data are processed from the submitted form. In Larry's code I think that that is in module billing.php (line 55).
Do you have this in your implementation?
Regards, Necuima