Module: FirstPayCommon

Included in:
ActiveMerchant::Billing::FirstPayJsonGateway, ActiveMerchant::Billing::FirstPayXmlGateway
Defined in:
lib/active_merchant/billing/gateways/first_pay/first_pay_common.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
8
9
10
# File 'lib/active_merchant/billing/gateways/first_pay/first_pay_common.rb', line 2

def self.included(base)
  base.supported_countries = ['US']
  base.default_currency = 'USD'
  base.money_format = :dollars
  base.supported_cardtypes = %i[visa master american_express discover]

  base.homepage_url = 'http://1stpaygateway.net/'
  base.display_name = '1stPayGateway.Net'
end

Instance Method Details

#supports_scrubbing?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/active_merchant/billing/gateways/first_pay/first_pay_common.rb', line 12

def supports_scrubbing?
  true
end