Sha256: 802e9692890a7447c6ac48fb2ffec732d348ab23512b13999eec79a62229dd77

Contents?: true

Size: 721 Bytes

Versions: 41

Compression:

Stored size: 721 Bytes

Contents

require File.dirname(__FILE__) + '/world_pay/helper.rb'
require File.dirname(__FILE__) + '/world_pay/notification.rb'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module WorldPay 
       
        # production and test have the same endpoint
        mattr_accessor :production_url
        self.production_url = 'https://secure.wp3.rbsworldpay.com/wcc/purchase'
        
        def self.service_url
          production_url
        end

        def self.notification(post, options = {})
          Notification.new(post, options)
        end
        
        def self.return(post, options = {})
          Return.new(post, options)
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 9 rubygems

Version Path
tlconnor-activemerchant-1.23.1 lib/active_merchant/billing/integrations/world_pay.rb
tlconnor-activemerchant-1.23.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.23.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.22.0 lib/active_merchant/billing/integrations/world_pay.rb
yetanothernguyen-activemerchant-1.21.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.21.0 lib/active_merchant/billing/integrations/world_pay.rb
tlconnor-activemerchant-1.20.4 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.20.4 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.20.3 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.20.2 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.20.1 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.20.0 lib/active_merchant/billing/integrations/world_pay.rb
vibedeck-activemerchant-1.18.2 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.18.1 lib/active_merchant/billing/integrations/world_pay.rb
fishman-activemerchant-1.18.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.18.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.17.0 lib/active_merchant/billing/integrations/world_pay.rb
yetanothernguyen-activemerchant-1.16.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.16.0 lib/active_merchant/billing/integrations/world_pay.rb
gonow-activemerchant-1.15.0 lib/active_merchant/billing/integrations/world_pay.rb