I am having the same problem. {:method=>:post, :action=>"Preapproval", :params=>{"cancelUrl"=>"http://bla.site", "currencyCode"=>"USD", "endingDate"=>Thu, 27 Jul 2017 16:59:45 +0200, "maxAmountPerPayment"=>375.0, "paymentPeriod"=>"ANNUALLY", "returnUrl"=>"http://bla.site", "memo"=>"Bronze Yearly", "ipnNotificationUrl"=>"http://bla.site", "startingDate"=>Wed, 27 Jul 2016 16:59:45 +0200, "feesPayer"=>"PRIMARYRECEIVER", "displayMaxTotalAmount"=>true}, :header=>{"X-PAYPAL-SECURITY-USERID"=>"merchant_bla_api1.paypal.com", "X-PAYPAL-SECURITY-PASSWORD"=>"XXXXXXXXXX", "X-PAYPAL-APPLICATION-ID"=>"APP-80W284485P519543T", "X-PAYPAL-SECURITY-SIGNATURE"=>"XXXXXXXXXXXX", "X-PAYPAL-REQUEST-DATA-FORMAT"=>"JSON", "X-PAYPAL-RESPONSE-DATA-FORMAT"=>"JSON", "User-Agent"=>"PayPalSDK/sdk-core-ruby 0.3.4 (paypal-sdk-core 0.3.4; ruby 2.3.1p112-x86_64-linux)", "X-PAYPAL-REQUEST-SOURCE"=>"adaptivepayments-ruby-sdk-1.117.1"}, :uri=>#<URI::HTTPS https://svcs.sandbox.paypal.com/AdaptivePayments/Preapproval>, :http=>#<Net::HTTP svcs.sandbox.paypal.com:443 open=false>, :body=>"{\"requestEnvelope\":{\"errorLanguage\":\"en_US\"},\"cancelUrl\":\"http://bla.site",\"currencyCode\":\"USD\",\"endingDate\":\"2017-07-27T16:59:45.000+02:00\",\"maxAmountPerPayment\":375.0,\"paymentPeriod\":\"ANNUALLY\",\"returnUrl\":\"http://bla.site",\"memo\":\"Bronze Yearly\",\"ipnNotificationUrl\":\"http://bla.site/",\"startingDate\":\"2016-07-27T16:59:45.000+02:00\",\"feesPayer\":\"PRIMARYRECEIVER\",\"displayMaxTotalAmount\":true}"}
Request[post]: https://svcs.sandbox.paypal.com/AdaptivePayments/Preapproval
Response[500]: Proxy Error, Duration: 5.955s
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
The proxy server could not handle the request <em><a href="/AdaptivePayments/Preapproval">POST /AdaptivePayments/Preapproval</a></em>.<p>
Reason: <strong>Error during SSL Handshake with remote server</strong></p><p />
</body></html>
... View more