Sha256: 3ec92096b1091af527077d98754c2068d50af711b5f0ce35f74df6826ea0a2e5

Contents?: true

Size: 856 Bytes

Versions: 6

Compression:

Stored size: 856 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

6 entries across 6 versions & 1 rubygems

Version Path
activemerchant-1.114.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.113.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.112.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.111.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.110.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.109.0 lib/active_merchant/billing/gateways/card_save.rb