Method: ActiveMerchant::Billing::ItransactGateway#initialize
- Defined in:
- lib/active_merchant/billing/gateways/itransact.rb
#initialize(options = {}) ⇒ ItransactGateway
Creates a new instance of the iTransact Gateway.
Parameters
-
options- A Hash of options
Options Hash
-
:login- A String containing your PaymentClearing assigned API Access Username -
:password- A String containing your PaymentClearing assigned API Access Key -
:gateway_id- A String containing your PaymentClearing assigned GatewayID -
:test_mode-trueorfalse. Run all transactions with the ‘TestMode’ element set to ‘TRUE’.
61 62 63 64 |
# File 'lib/active_merchant/billing/gateways/itransact.rb', line 61 def initialize( = {}) requires!(, :login, :password, :gateway_id) super end |