From 598e81ed32e76f5d87556332770bd16205d93df6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Thu, 12 Aug 2021 10:04:33 +0100 Subject: [PATCH] Progress order to address at start of checkout --- app/controllers/split_checkout_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/split_checkout_controller.rb b/app/controllers/split_checkout_controller.rb index fa03a74bba..78686668c4 100644 --- a/app/controllers/split_checkout_controller.rb +++ b/app/controllers/split_checkout_controller.rb @@ -39,6 +39,8 @@ class SplitCheckoutController < ::BaseController redirect_to_step unless checkout_step + OrderWorkflow.new(@order).next if @order.cart? + # This is only required because of spree_paypal_express. If we implement # a version of paypal that uses this controller, and more specifically # the #action_failed method, then we can remove this call