Fix handling of 'same shipping details' checkbox.
Pep8 fixes and remove redundant dict copy.