lib/active_merchant/billing/gateways/usa_epay.rb in bitfluent-activemerchant-1.5.1.1 vs lib/active_merchant/billing/gateways/usa_epay.rb in bitfluent-activemerchant-1.15.1
- old
+ new
@@ -132,10 +132,10 @@
def parse(body)
fields = {}
for line in body.split('&')
key, value = *line.scan( %r{^(\w+)\=(.*)$} ).flatten
- fields[key] = CGI.unescape(value)
+ fields[key] = CGI.unescape(value.to_s)
end
{
:status => fields['UMstatus'],
:auth_code => fields['UMauthCode'],