diff --git a/.DS_Store b/.DS_Store index 21fefac..950c086 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index a3cfb8d..beaa348 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ /.idea /eestiInternetiSa /coverage +.DS_Store # Ignore all logfiles and tempfiles. /log/* diff --git a/app/jobs/payment_lhv_connect_job.rb b/app/jobs/payment_lhv_connect_job.rb index 4c0eec6..935368a 100644 --- a/app/jobs/payment_lhv_connect_job.rb +++ b/app/jobs/payment_lhv_connect_job.rb @@ -97,7 +97,7 @@ def send_transactions(params:, payment_reference_number:) uri = URI.parse(url[reference.initiator.to_sym]) http = Net::HTTP.new(uri.host, uri.port) - + if Rails.env.development? || Rails.env.test? http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE # :brakemanignore: SSLVerify