lib/active_merchant/billing/gateways/secure_net.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/secure_net.rb in activemerchant-1.102.0
- old
+ new
@@ -155,11 +155,11 @@
xml.tag! 'EMAILRECEIPT', 'FALSE'
end
xml.tag! 'FIRSTNAME', creditcard.first_name
xml.tag! 'LASTNAME', creditcard.last_name
xml.tag! 'PHONE', address[:phone].to_s
- xml.tag! 'STATE', address[:state].blank? ? 'n/a' : address[:state]
+ xml.tag! 'STATE', address[:state].blank? ? 'n/a' : address[:state]
xml.tag! 'ZIP', address[:zip].to_s
end
end
if address = options[:shipping_address]
@@ -176,10 +176,10 @@
else
xml.tag! 'FIRSTNAME', address[:first_name].to_s
xml.tag! 'LASTNAME', address[:last_name].to_s
end
- xml.tag! 'STATE', address[:state].blank? ? 'n/a' : address[:state]
+ xml.tag! 'STATE', address[:state].blank? ? 'n/a' : address[:state]
xml.tag! 'ZIP', address[:zip].to_s
end
else
xml.tag!('CUSTOMER_SHIP', NIL_ATTRIBUTE) do
end