From 5ae2e6865c2ba38076726c4c34873e26fe7acf75 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Fri, 6 Mar 2020 10:14:45 +0000 Subject: [PATCH] Add one more needed permitted attribute to checkout controller --- app/controllers/checkout_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/checkout_controller.rb b/app/controllers/checkout_controller.rb index e3c083e7eb..83ecd4cc37 100644 --- a/app/controllers/checkout_controller.rb +++ b/app/controllers/checkout_controller.rb @@ -249,7 +249,8 @@ class CheckoutController < Spree::StoreController source_attributes: [ :gateway_payment_profile_id, :cc_type, :last_digits, :month, :year, :first_name, :last_name, - :number, :verification_value + :number, :verification_value, + :save_requested_by_customer ] ], bill_address_attributes: permitted_address_attributes,