Permalink
Browse files

HTTPS fix

  • Loading branch information...
nickygerritsen committed Feb 22, 2012
1 parent 361e13f commit bed803afaac25c210b73a22768e248fac4ee019f
Showing with 4 additions and 2 deletions.
  1. +1 −1 VERSION
  2. +1 −1 active_merchant_mollie.gemspec
  3. +2 −0 lib/active_merchant/billing/mollie_ideal.rb
View
@@ -1 +1 @@
-0.1.1
+0.1.2
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{active_merchant_mollie}
- s.version = "0.1.0"
+ s.version = "0.1.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Edwin Vlieg"]
@@ -45,6 +45,8 @@ def commit(action, parameters)
url = URL + "?a=#{action}&#{parameters.collect { |k,v| "#{k}=#{v}" }.join("&") }"
uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
+ http.use_ssl = true
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.get(uri.request_uri).body
end

0 comments on commit bed803a

Please sign in to comment.