Fix credit card reuse on spree api
Nest existing_param input under order

Help us make things more consistent when working with checkout params
Dont update inventory if order has no delivery step
Admin users should be able to set any param via api importer
Add items before creating shipments on importer

Otherwise order.contents.add would wipe out shipments every time
Try to set inventory_unit.line_item on Importer

To avoid exception when users want to display those imported orders in
admin
Fix shipment persistence on order importer

Besides selecting the shipment rate we also need to assign the cost in
the shipment itself.

We cant only rely on order.update_shipment_state to actually well update
the order shipment_state (:O) because shipment states might not be sync
with the latest payment changes which influence on the result so
Shipment#determine_state needs to run to make sure we keep those
accurate
Fix OpenSSL::Digest::Digest is deprecated

For spree master the dependency for 'aws-sdk' is '1.27.0', but that
version has the issue https://github.com/aws/aws-sdk-ruby/pull/434
“OpenSSL::Digest::Digest is deprecated OpenSSL::Digest::Digest is
deprecated; use OpenSSL::Digest for Ruby 2.1 and aws-sdk-ruby”  that is
fixed in 'aws-sdk' is '1.47.0' that is the current version. I did the
bump to '1.47.0' in the spree_core.gemspec file
Adding to Product factory the image attachment