Jim McGowan
unread,Oct 4, 2009, 2:01:12 AM10/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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