Sha256: 57609aabdaf1a8db617a906fce9d69134c04f3b22425b416c35186333415db5e

Contents?: true

Size: 592 Bytes

Versions: 7

Compression:

Stored size: 592 Bytes

Contents

require File.dirname(__FILE__) +  '/smart_ps.rb'
require File.dirname(__FILE__) + '/braintree/braintree_common'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class BraintreeOrangeGateway < SmartPs
      include BraintreeCommon

      self.display_name = 'Braintree (Orange Platform)'
      self.supported_countries = ["US"]

      self.live_url = self.test_url = 'https://secure.braintreepaymentgateway.com/api/transact.php'

      def add_processor(post, options)
        post[:processor_id] = options[:processor] unless options[:processor].nil?
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.44.1/lib/active_merchant/billing/gateways/braintree_orange.rb
activemerchant-1.45.0 lib/active_merchant/billing/gateways/braintree_orange.rb
aktivemerchant-2.0.0 lib/active_merchant/billing/gateways/braintree_orange.rb
activemerchant-1.44.1 lib/active_merchant/billing/gateways/braintree_orange.rb
activemerchant-1.44.0 lib/active_merchant/billing/gateways/braintree_orange.rb
activemerchant-1.43.3 lib/active_merchant/billing/gateways/braintree_orange.rb
activemerchant-1.43.1 lib/active_merchant/billing/gateways/braintree_orange.rb