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
bitfluent-activemerchant-1.15.1 lib/active_merchant/billing/integrations/world_pay.rb