Sha256: 913182edb93e428c30e7608bcc07dc32c6a3ced8f2d6383d099a452cdfd4bcd8

Contents?: true

Size: 863 Bytes

Versions: 8

Compression:

Stored size: 863 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class CardSaveGateway < IridiumGateway
      # CardSave lets you handle failovers on payments by providing 3 gateways in case one happens to be down
      # URLS = ['https://gw1.cardsaveonlinepayments.com:4430/','https://gw2.cardsaveonlinepayments.com:4430/','https://gw3.cardsaveonlinepayments.com:4430/']

      self.money_format = :cents
      self.default_currency = 'GBP'
      self.supported_cardtypes = [:visa, :maestro, :master, :american_express, :jcb]
      self.supported_countries = ['GB']
      self.homepage_url = 'http://www.cardsave.net/'
      self.display_name = 'CardSave'

      def initialize(options={})
        super
        @test_url = 'https://gw1.cardsaveonlinepayments.com:4430/'
        @live_url = 'https://gw1.cardsaveonlinepayments.com:4430/'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activemerchant-1.108.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.107.4 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.107.3 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.107.2 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.107.1 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.106.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.105.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.104.0 lib/active_merchant/billing/gateways/card_save.rb