lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.106.0
- old
+ new
@@ -285,10 +285,10 @@
cvv_result: CVVResult.new(response['cvvresp']),
test: test?,
error_code: error_code_from(response)
)
rescue ResponseError => e
- return Response.new(false, 'Unable to authenticate. Please check your credentials.', {}, :test => test?) if e.response.code == '401'
+ return Response.new(false, 'Unable to authenticate. Please check your credentials.', {}, test: test?) if e.response.code == '401'
raise
end
def success_from(response)