Sha256: 8cc3da3a5fc7b8879345c61a4cabfaea4a4f7f919f62fc402300720d64d13355

Contents?: true

Size: 858 Bytes

Versions: 20

Compression:

Stored size: 858 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 = %i[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

20 entries across 20 versions & 3 rubygems

Version Path
swiss-activemerchant-1.0.5 lib/active_merchant/billing/gateways/card_save.rb
swiss-activemerchant-1.0.4 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.137.0 lib/active_merchant/billing/gateways/card_save.rb
swiss-activemerchant-1.0.2 lib/active_merchant/billing/gateways/card_save.rb
swiss-activemerchant-1.0.1 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.133.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.131.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.130.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.129.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.126.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.125.0 lib/active_merchant/billing/gateways/card_save.rb
archetype2142_activemerchant-1.124.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.124.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.123.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.121.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.120.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.119.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.118.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.117.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.116.0 lib/active_merchant/billing/gateways/card_save.rb