Sha256: 3c0dfd0cf54d6ed01737f808483956fe57ca1e6eb38e59746ee6483220d5d52a

Contents?: true

Size: 891 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-1.85.0 lib/active_merchant/billing/gateways/card_save.rb
activemerchant-1.84.0 lib/active_merchant/billing/gateways/card_save.rb