def state_callback(before_or_after = :before)
      method_name = :"#{before_or_after}_#{@order.state}"
      send(method_name) if respond_to?(method_name, true)
    end
def state_callback(before_or_after = :before)
      method_name = :"#{before_or_after}_#{@order.state}"
      send(method_name) if respond_to?(method_name, true)
    end
those methods are copy-pasted from CheckoutController
 we cannot inherit from that class unless we want to skip_before_filter
 half of calls in SpreeBase module