Method: ActiveMerchant::Billing::FirstPayXmlGateway#initialize
- Defined in:
- lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb
#initialize(options = {}) ⇒ FirstPayXmlGateway
Creates a new FirstPayXmlGateway
The gateway requires two values for connection to be passed in the options hash
Options
-
:gateway_id– FirstPay’s gateway_id (REQUIRED) -
:transaction_center_id– FirstPay’s transaction_center_id or processorId (REQUIRED) Otherwise, perform transactions against the production server.
21 22 23 24 |
# File 'lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb', line 21 def initialize( = {}) requires!(, :gateway_id, :transaction_center_id) super end |