Class: ActiveMerchant::Billing::PaymentExpressResponse

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

Instance Attribute Summary

Attributes inherited from Response

#acs_url, #authorization, #avs_result, #cvv_result, #md, #message, #pa_req, #params, #test

Instance Method Summary collapse

Methods inherited from Response

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

Constructor Details

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

Instance Method Details

#tokenObject

add a method to response so we can easily get the token for Validate transactions



225
226
227
# File 'lib/active_merchant/billing/gateways/payment_express.rb', line 225

def token
  @params["billing_id"] || @params["dps_billing_id"]
end