From 1fca7d2a6ca288d1d95396ffde547407d10e35e4 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 1 Sep 2021 12:36:45 +0100 Subject: [PATCH] Remove error-clearing from edit action --- app/controllers/split_checkout_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/split_checkout_controller.rb b/app/controllers/split_checkout_controller.rb index 61276b4303..f11c432aee 100644 --- a/app/controllers/split_checkout_controller.rb +++ b/app/controllers/split_checkout_controller.rb @@ -25,9 +25,6 @@ class SplitCheckoutController < ::BaseController # a version of paypal that uses this controller, and more specifically # the #action_failed method, then we can remove this call # OrderCheckoutRestart.new(@order).call - @order.errors.clear - @order.bill_address.errors.clear - @order.ship_address.errors.clear rescue Spree::Core::GatewayError => e rescue_from_spree_gateway_error(e) end