Add support for filtering push_objects
make sure we also find the state when the abbr is given.
filter out not used model attributes
remove binding.pry
filter the attributes on update as well.
add spec to filter out non existing attributes
add channel to order/shipment serializer. Fixes #3
return the order.ship_address when shipment.address is nil
Push state abbr by default for addresses
Search by state abbr, name or default to setting state_name in shipment handlers
set the shipment state to the "status" field from the wombat shipment hash
try with this for the state
this is the only way..
no more coding at midnight
update the order after updating the shipment to make sure the order is marked shipped as well when the shipment is shipped.
state is an attribute on the Shipment model.. no need to manualy set it.
filter out custom attributes for Orders
filter the product attributes as well
make sure we filter the Spree::Variant attributes as well.
spec that we set the sku and price correctly on the variants
serialize order.promo_total to totals.discount
sum up the right adjustments on the order so it's matching the adjustments hash.