lib/active_merchant/billing/gateways/vanco.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/vanco.rb in activemerchant-1.104.0
- old
+ new
@@ -106,10 +106,11 @@
!empty?(response[success_field_name])
end
def message_from(succeeded, response)
return 'Success' if succeeded
+
response[:error_message]
end
def authorization_from(response)
[
@@ -286,9 +287,8 @@
def headers
{
'Content-Type' => 'text/xml'
}
end
-
end
end
end