Object
Implements the Address Verification System www.wellsfargo.com/downloads/pdf/biz/merchant/visa_avs.pdf en.wikipedia.org/wiki/Address_Verification_System apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_IG/html/app_avs_cvn_codes.htm#app_AVS_CVN_codes_7891_48375 imgserver.skipjack.com/imgServer/5293710/AVS%20and%20CVV2.pdf www.emsecommerce.net/avs_cvv2_response_codes.htm
Map vendor’s AVS result code to a postal match code
Map vendor’s AVS result code to a street match code
# File lib/active_merchant/billing/avs_result.rb, line 64 def self.messages MESSAGES end
# File lib/active_merchant/billing/avs_result.rb, line 68 def initialize(attrs) attrs ||= {} @code = attrs[:code].upcase unless attrs[:code].blank? @message = self.class.messages[code] if attrs[:street_match].blank? @street_match = STREET_MATCH_CODE[code] else @street_match = attrs[:street_match].upcase end if attrs[:postal_match].blank? @postal_match = POSTAL_MATCH_CODE[code] else @postal_match = attrs[:postal_match].upcase end end
Generated with the Darkfish Rdoc Generator 2.