Fix shipment_info assignment

When entering promotional codes, `shipment_info` can be undefined, thereby throwing an error and killing script execution.  Ensure proper setting of `shipment_info`.
Whitespace cleanup