lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.58.0 vs lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.59.0
- old
+ new
@@ -152,10 +152,10 @@
post['transaction.mode'] = (test? ? 'CONNECTOR_TEST' : 'LIVE')
begin
raw_response = ssl_request(:get, "#{save_card_url}?#{post_data(post)}", nil, {})
rescue ResponseError => e
- return Response.new(false, e.response.body, e.response.body, {})
+ return Response.new(false, e.response.body)
end
response_for_save_from(raw_response)
end