diff --git a/app/controllers/split_checkout_controller.rb b/app/controllers/split_checkout_controller.rb index 290ba402fd..5e36409b1c 100644 --- a/app/controllers/split_checkout_controller.rb +++ b/app/controllers/split_checkout_controller.rb @@ -70,7 +70,7 @@ class SplitCheckoutController < ::BaseController end def validate_payment! - return true if params.dig(:order, :payments_attributes).present? + return true if params.dig(:order, :payments_attributes, 0, :payment_method_id).present? @order.errors.add :payment_method, I18n.t('split_checkout.errors.select_a_payment_method') end