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::AVS_REASON_CODES, AuthorizeNetGateway::CARD_CODE_ERRORS, AuthorizeNetGateway::RECURRING_ACTIONS

Constants inherited from Gateway

Gateway::CREDIT_DEPRECATION_MESSAGE, Gateway::CURRENCIES_WITHOUT_FRACTIONS, Gateway::DEBIT_CARDS

Instance Attribute Summary

Attributes inherited from Gateway

#options

Instance Method Summary collapse

Methods inherited from AuthorizeNetGateway

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

Methods inherited from Gateway

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

Methods included from Utils

#deprecated, generate_unique_id

Methods included from CreditCardFormatting

#format

Methods included from RequiresParameters

#requires!

Methods included from PostsData

included, #raw_ssl_request, #ssl_get, #ssl_post, #ssl_request

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