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
activemerchant-1.41.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.40.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.39.2 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.39.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.39.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.38.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.38.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.37.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.36.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.35.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.35.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.34.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.34.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.33.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.32.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.32.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.31.1 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/pxpay/return.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/pxpay/return.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/pxpay/return.rb