Comment out line 51. It looks like the ship to phone number is being passed back as blank and you have that set to be the field inserted into the database. If you don't set it, it should use the billing phone number instead.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.