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
activemerchant-1.31.1 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/world_pay.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.29.3 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.29.2 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.29.1 lib/active_merchant/billing/integrations/world_pay.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.29.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.28.0 lib/active_merchant/billing/integrations/world_pay.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.27.0 lib/active_merchant/billing/integrations/world_pay.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.26.0 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.25.0 lib/active_merchant/billing/integrations/world_pay.rb
jelaniharris-activemerchant-1.24.1 lib/active_merchant/billing/integrations/world_pay.rb
activemerchant-1.24.0 lib/active_merchant/billing/integrations/world_pay.rb
tlconnor-activemerchant-1.23.3 lib/active_merchant/billing/integrations/world_pay.rb
tlconnor-activemerchant-1.23.2 lib/active_merchant/billing/integrations/world_pay.rb