Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding AVS and CVV added to minfraud request #1

Merged
merged 1 commit into from

2 participants

Don Pflaster Adam Daniels
Don Pflaster

Hi there!

I had a need to include the avs_result and cvv_result fields in my Minfraud queries. I went ahead and added them on my fork. Humbly request pullage.

Thanks!
Don Pflaster

Adam Daniels adam12 merged commit 1a4241b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 17, 2013
  1. Don Pflaster
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/maxmind/request.rb
6 lib/maxmind/request.rb
View
@@ -25,7 +25,7 @@ class << self
:forwarded_ip, :email, :username, :password, :transaction_id, :session_id,
:shipping_address, :shipping_city, :shipping_region, :shipping_postal,
:shipping_country, :user_agent, :accept_language, :order_amount,
- :order_currency
+ :order_currency, :avs_result, :cvv_result
def initialize(attrs={})
self.attributes = attrs
@@ -114,7 +114,9 @@ def query
:txnID => @transaction_id,
:sessionID => @session_id,
:user_agent => @user_agent,
- :accept_language => @accept_langage
+ :accept_language => @accept_langage,
+ :avs_result => @avs_result,
+ :cvv_result => @cvv_result
}
field_set = required_fields.merge(optional_fields)
Something went wrong with that request. Please try again.