Method: CecabankCommon#initialize
- Defined in:
- lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb
#initialize(options = {}) ⇒ Object
Creates a new CecabankGateway
The gateway requires four values for connection to be passed in the options hash.
Options
-
:merchant_id– Cecabank’s merchant_id (REQUIRED) -
:acquirer_bin– Cecabank’s acquirer_bin (REQUIRED) -
:terminal_id– Cecabank’s terminal_id (REQUIRED) -
:cypher_key– Cecabank’s cypher key (REQUIRED) -
:test–trueorfalse. If true, perform transactions against the test server. Otherwise, perform transactions against the production server.
28 29 30 31 |
# File 'lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb', line 28 def initialize( = {}) requires!(, :merchant_id, :acquirer_bin, :terminal_id, :cypher_key) super end |