Class: ActiveMerchant::Billing::SecurePayGateway

Inherits:
AuthorizeNetGateway show all
Defined in:
lib/active_merchant/billing/gateways/secure_pay.rb

Constant Summary

Constants inherited from AuthorizeNetGateway

AuthorizeNetGateway::API_VERSION, AuthorizeNetGateway::AUTHORIZE_NET_ARB_NAMESPACE, AuthorizeNetGateway::AVS_ERRORS, AuthorizeNetGateway::CARD_CODE_ERRORS, AuthorizeNetGateway::RECURRING_ACTIONS

Constants inherited from Gateway

Gateway::DEBIT_CARDS

Constants included from PostsData

PostsData::MAX_RETRIES, PostsData::OPEN_TIMEOUT, PostsData::READ_TIMEOUT

Instance Attribute Summary

Attributes inherited from Gateway

#options

Instance Method Summary collapse

Methods inherited from AuthorizeNetGateway

#authorize, #cancel_recurring, #capture, #credit, #initialize, #purchase, #recurring, #update_recurring, #void

Methods inherited from Gateway

#card_brand, card_brand, inherited, #initialize, supports?

Methods included from Utils

generate_unique_id

Methods included from CreditCardFormatting

#format

Methods included from RequiresParameters

#requires!

Methods included from PostsData

included, #retry_exceptions, #ssl_post

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::AuthorizeNetGateway

Instance Method Details

#test?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/active_merchant/billing/gateways/secure_pay.rb', line 20

def test?
  Base.gateway_mode == :test
end