diff --git a/app/controllers/spree/admin/orders/customer_details_controller.rb b/app/controllers/spree/admin/orders/customer_details_controller.rb index 2a22c1e0866..13784e22382 100644 --- a/app/controllers/spree/admin/orders/customer_details_controller.rb +++ b/app/controllers/spree/admin/orders/customer_details_controller.rb @@ -25,7 +25,6 @@ def update AdvanceOrderService.new(@order).call - @order.shipments.map(&:refresh_rates) flash[:success] = Spree.t('customer_details_updated') redirect_to admin_order_customer_path(@order) else diff --git a/app/controllers/spree/admin/orders_controller.rb b/app/controllers/spree/admin/orders_controller.rb index 5f8154a355e..df345a673cd 100644 --- a/app/controllers/spree/admin/orders_controller.rb +++ b/app/controllers/spree/admin/orders_controller.rb @@ -33,8 +33,6 @@ def new end def edit - @order.shipments.map(&:refresh_rates) - AdvanceOrderService.new(@order).call # The payment step shows an error of 'No pending payments'