class ActiveMerchant::Billing::OrbitalGateway::CVVResult
Unfortunately, Orbital uses their own special codes for CVV responses that are different than the standard codes defined in ActiveMerchant::Billing::CVVResult
.
This class encapsulates the response codes shown on page 255 of their spec: download.chasepaymentech.com/docs/orbital/orbital_gateway_xml_specification.pdf
Constants
- MESSAGES
Public Class Methods
messages()
click to toggle source
# File lib/active_merchant/billing/gateways/orbital.rb, line 995 def self.messages MESSAGES end
new(code)
click to toggle source
# File lib/active_merchant/billing/gateways/orbital.rb, line 999 def initialize(code) @code = code.blank? ? '' : code.upcase @message = MESSAGES[@code] end