Class: MerbMerchant::Billing::PayflowResponse

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

Instance Attribute Summary

Attributes inherited from Response

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

Instance Method Summary collapse

Methods inherited from Response

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

Constructor Details

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

Instance Method Details

#payment_historyObject



8
9
10
# File 'lib/merb_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/merb_merchant/billing/gateways/payflow/payflow_response.rb', line 4

def profile_id
  @params['profile_id']
end