Sha256: 0dccec7f8d6f53c052b3b36eff4d8243d01348d89b3785f8cf3d65e11aeb804d

Contents?: true

Size: 607 Bytes

Versions: 48

Compression:

Stored size: 607 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module Pxpay
        class Return < ActiveMerchant::Billing::Integrations::Return
          def initialize(query_string, options={})
            @notification = Notification.new(query_string, options)
          end

          def success?
            @notification && @notification.complete?
          end

          def cancelled?
            @notification && @notification.cancelled?
          end

          def message
            @notification.message
          end
        end
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 4 rubygems

Version Path
tanga_activemerchant-1.38.0.5 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.38.0.4 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.38.0.3 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.38.0.2 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.38.0.1 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.38.0 lib/active_merchant/billing/integrations/pxpay/return.rb
tanga_activemerchant-1.37.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.43.3 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.43.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.43.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.9 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.8 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.7 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.6 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.5 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.4 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.3 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.2 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.42.0 lib/active_merchant/billing/integrations/pxpay/return.rb