Class: ActiveMerchant::Billing::PayflowResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/active_merchant/billing/gateways/payflow/payflow_response.rb

Instance Attribute Summary

Attributes inherited from Response

#authorization, #avs_result, #cvv_result, #emv_authorization, #error_code, #message, #params, #test

Instance Method Summary collapse

Methods inherited from Response

#fraud_review?, #initialize, #success?, #test?

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::Response

Instance Method Details

#payment_historyObject


8
9
10
# File 'lib/active_merchant/billing/gateways/payflow/payflow_response.rb', line 8

def payment_history
  @payment_history ||= @params['rp_payment_result'].collect{ |result| result.stringify_keys } rescue []
end

#profile_idObject


4
5
6
# File 'lib/active_merchant/billing/gateways/payflow/payflow_response.rb', line 4

def profile_id
  @params['profile_id']
end