Sha256: 00d80c4d42adc22c5ae0bf2f77e91e4a819e12a934ce8aa32a21b3c82d1d9ed7

Contents?: true

Size: 762 Bytes

Versions: 38

Compression:

Stored size: 762 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module Dwolla
        class Return < ActiveMerchant::Billing::Integrations::Return

          def success?
            self.error.nil? && self.callback_success?
          end

          def error
            params['error']
          end

          def error_description
            params['error_description']
          end

          def checkout_id
            params['checkoutid']
          end

          def transaction
            params['transaction']
          end

          def test?
            params['test']
          end

          def callback_success?
            params['postback'] != "failure"
          end
	      end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 7 rubygems

Version Path
activemerchant-1.32.1 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.32.0 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.31.1 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/dwolla/return.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.29.3 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.29.2 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.29.1 lib/active_merchant/billing/integrations/dwolla/return.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.29.0 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.28.0 lib/active_merchant/billing/integrations/dwolla/return.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.27.0 lib/active_merchant/billing/integrations/dwolla/return.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.26.0 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.25.0 lib/active_merchant/billing/integrations/dwolla/return.rb
jelaniharris-activemerchant-1.24.1 lib/active_merchant/billing/integrations/dwolla/return.rb
activemerchant-1.24.0 lib/active_merchant/billing/integrations/dwolla/return.rb