NEMO-3064 Change hook to work with Spree change.

Please merge this PR first https://github.com/godaddy/spree/pull/23