Sha256: 9132d7458c2de3e63ed84dc9d6f4236fa98c05da791a80387f6e601eb6c139ea

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class PayflowResponse < Response
      def profile_id
        @params['profile_id']
      end
      def e_mail 
        @params['e_mail']
      end
      
      def payment_history
        @payment_history ||= @params['rp_payment_result'].collect{ |result| result.stringify_keys } rescue []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
martinstannard-activemerchant-0.1.0 lib/active_merchant/billing/gateways/payflow/payflow_response.rb