SSL problem when connecting to PayPal

41 views
Skip to first unread message

Jim McGowan

unread,
Oct 4, 2009, 2:01:12 AM10/4/09
to Potion Store Discussions
This morning I had a report from someone trying to purchase my product
and getting '500 server errors'. I checked and the errors are
occurring when trying to connect to PayPal either for PayPal direct
payment or credit card payment. Checking the log, the problem is with
an SSL certificate failing to verify. The error call stack looks like
this:

OpenSSL::SSL::SSLError (certificate verify failed):
/lib/http-access2.rb:1001:in `connect'
/lib/http-access2.rb:1001:in `ssl_connect'
/lib/http-access2.rb:1363:in `connect'
/usr/lib64/ruby/1.8/timeout.rb:56:in `timeout'
/usr/lib64/ruby/1.8/timeout.rb:76:in `timeout'
/lib/http-access2.rb:1351:in `connect'
/lib/http-access2.rb:1209:in `query'
/lib/http-access2.rb:892:in `query'
/lib/http-access2.rb:434:in `do_get_block'
/lib/http-access2.rb:370:in `conn_request'
/lib/http-access2.rb:285:in `request'
/lib/http-access2.rb:264:in `post'
/lib/soap/streamHandler.rb:199:in `send_post'
/lib/soap/streamHandler.rb:137:in `send'
/lib/soap/rpc/proxy.rb:170:in `route'
/lib/soap/rpc/proxy.rb:141:in `call'
/lib/soap/rpc/driver.rb:178:in `call'
/lib/soap/rpc/driver.rb:232:in `setExpressCheckout'
/vendor/plugins/paypal/lib/paypal.rb:110:in `express_checkout'
/app/controllers/store/order_controller.rb:64:in `payment'

However, I'm not sure what certificate is causing the problem. The
cert for my own website is valid, and I tried logging into PayPal on
the web and the cert for their site is showing as valid. I removed my
PayPal API credentials and issued new ones, but still get the same
problem. Can anyone point me in the right direction to chase this
down?

Thanks,

Jim

Eamon Ford

unread,
Oct 4, 2009, 2:04:21 AM10/4/09
to potion...@googlegroups.com
PayPal changed their certificates, and you'll just need to download
the update. Read Andy's post about this here: <http://groups.google.com/group/potion-store/browse_thread/thread/e960c0a0ed3882c7

Eamon Ford

unread,
Oct 4, 2009, 2:05:48 AM10/4/09
to potion...@googlegroups.com
Sorry, make that Paul's post. :)

Jim McGowan

unread,
Oct 4, 2009, 2:41:55 AM10/4/09
to potion...@googlegroups.com
Great, thanks. Guess my Google foo wasn't up to scratch this morning!

Jim
Reply all
Reply to author
Forward
0 new messages