diff --git a/CHANGELOG b/CHANGELOG index 1f5625b8e21..38b1e39967f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) diff --git a/lib/active_merchant/billing/gateways/spreedly_core.rb b/lib/active_merchant/billing/gateways/spreedly_core.rb index 1a07ab0620a..67a7be3f110 100644 --- a/lib/active_merchant/billing/gateways/spreedly_core.rb +++ b/lib/active_merchant/billing/gateways/spreedly_core.rb @@ -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