check for payment methods

This commit is contained in:
Yan
2017-10-31 15:57:50 +06:30
parent c8c32cd6b3
commit 4ce8a0afbb
3 changed files with 45 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
class PaymentMethodSetting < ApplicationRecord
# validations
validates_presence_of :payment_method, :gateway_communication_type, :gateway_url, :auth_token, :merchant_account_id
validates_presence_of :payment_method #, :gateway_communication_type, :gateway_url, :auth_token, :merchant_account_id
end