diff --git a/app/controllers/checkout_controller.rb b/app/controllers/checkout_controller.rb index ce8728ee37..e3c083e7eb 100644 --- a/app/controllers/checkout_controller.rb +++ b/app/controllers/checkout_controller.rb @@ -239,6 +239,8 @@ class CheckoutController < Spree::StoreController end def order_params(params) + return params[:order] if params[:order].empty? + params.require(:order).permit( :email, :special_instructions, payments_attributes: