Class ActiveMerchant::Billing::InspireGateway
In: lib/active_merchant/billing/gateways/inspire.rb
Parent: Gateway

Methods

authorize   capture   delete   new   purchase   store   unstore   update   void  

Constants

URL = 'https://secure.inspiregateway.net/api/transact.php'

Public Class methods

Creates a new InspireGateway

The gateway requires that a valid login and password be passed in the options hash.

Options

  • :login — The Inspire Username.
  • :password — The Inspire Passowrd.

See the Inspire Integration Guide for details. (default: false)

Public Instance methods

Pass :store => true in the options to store the payment info at Inspire Gateway and get a generated customer_vault_id in the response. Pass :store => some_number_or_string to specify the customer_vault_id InspireGateway should use (make sure it‘s unique).

To match the other stored-value gateways, like TrustCommerce, store and unstore need to be defined

unstore(vault_id)

Alias for delete

Update the values (such as CC expiration) stored at InspireGateway. The CC number must be supplied in the CreditCard object.

[Validate]