Skip to content

Commit

Permalink
Spreedly: pass country with other address fields
Browse files Browse the repository at this point in the history
  • Loading branch information
hoenth authored and ntalbott committed Sep 25, 2013
1 parent 1b98db1 commit 279efb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
= ActiveMerchant CHANGELOG

* Moneris: Add optional (off by default) verification_value support [duff]
* Spreedly: Pass country with other address fields [hoenth]

== Version 1.38.1 (September 16, 2013)

Expand Down
1 change: 1 addition & 0 deletions lib/active_merchant/billing/gateways/spreedly_core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def add_credit_card(doc, credit_card, options)
doc.city(options[:billing_address].try(:[], :city))
doc.state(options[:billing_address].try(:[], :state))
doc.zip(options[:billing_address].try(:[], :zip))
doc.country(options[:billing_address].try(:[], :country))
end
end

Expand Down

0 comments on commit 279efb4

Please sign in to comment.