Class: MerbMerchant::Billing::PaymentExpressResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/merb_merchant/billing/gateways/payment_express.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

#tokenObject

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



236
237
238
# File 'lib/merb_merchant/billing/gateways/payment_express.rb', line 236

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