nexio_activemerchant 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09b41171285a1391d8d99233c196e387bc1822c3efdbb8187eb8422764f1beae'
|
4
|
+
data.tar.gz: 85f11b3a8a146594f3f0919a1f8b3aa2a6a5415c342b541931acea748ce81c94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '094f7c5d9058ef1ceb7ed58fc77f217c0190175a64f75a24027909d75003b3bd4b7da8812a3b972b62b864e5f123e63c38129856ad74f0d5483592cc803377c0'
|
7
|
+
data.tar.gz: b82b1e74e01c35752e1f64e4949ccb038b841d62e32686590a58e3aba1ee2dd6959883fda3d0e9a7529130b86b216419f3983ee1b3ade95b0b93b18500a3fcae
|
@@ -172,15 +172,12 @@ module ActiveMerchant
|
|
172
172
|
def add_address(post, data, prefix)
|
173
173
|
return post if data.blank?
|
174
174
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
"#{prefix}Postal": data[:zip],
|
182
|
-
"#{prefix}State": data[:state]
|
183
|
-
})
|
175
|
+
{
|
176
|
+
AddressOne: :address1, AddressTwo: :address2, City: :city,
|
177
|
+
Country: :country, Phone: :phone, Postal: :zip, State: :state
|
178
|
+
}.each do |suffix, key|
|
179
|
+
post[:data][:customer]["#{prefix}#{suffix}"] = data[key] if data[key].present?
|
180
|
+
end
|
184
181
|
end
|
185
182
|
|
186
183
|
def add_payment(post, payment, options)
|