diff --git a/app/services/checkout/params.rb b/app/services/checkout/params.rb index a14a04656f..3175e76a6a 100644 --- a/app/services/checkout/params.rb +++ b/app/services/checkout/params.rb @@ -14,7 +14,6 @@ module Checkout apply_strong_parameters set_pickup_address set_address_details - set_payment_amount set_existing_card @order_params @@ -58,12 +57,6 @@ module Checkout end end - def set_payment_amount - return unless @order_params[:payments_attributes] - - @order_params[:payments_attributes].first[:amount] = order.outstanding_balance.amount - end - def set_existing_card return unless existing_card_selected?