Shopify/active_merchant

View on GitHub
lib/active_merchant/billing/gateways/payflow/payflow_response.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class PayflowResponse < Response
      def profile_id
        @params['profile_id']
      end

      def payment_history
        @payment_history ||= @params['rp_payment_result'].collect(&:stringify_keys) rescue []
      end
    end
  end
end