public function injectShipping() { $validator = Validator::make($data = Input::except('_token', 'commerceType'), Shipping::$rules); if ($validator->fails()) { return Redirect::back()->withErrors($validator)->withInput(); } Shipping::create($data); $customer = Input::except('_token', 'magic'); return View::make('carts.payment', compact('customer')); }