payment_setting

This commit is contained in:
Moe Su
2017-06-08 17:57:29 +06:30
parent b57e24c076
commit 74b0550c30
46 changed files with 960 additions and 22 deletions

View File

@@ -69,6 +69,6 @@ class Settings::PaymentMethodSettingsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def settings_payment_method_setting_params
params.require(:payment_method_setting).permit(:payment_method, :is_active, :gateway_communication_type, :gateway_url, :auth_token, :merchant_account_id)
params.require(:payment_method_setting).permit(:payment_method, :is_active, :gateway_communication_type, :gateway_url, :auth_token, :merchant_account_id, :additional_parameters)
end
end