2
我一直在使用舊版本的active_merchant(v1.8)在ruby 1.8上付款給SagePay的網上商店多年和三天前它停止工作。我看了看日誌,並收到這些錯誤:SSLError貴賓犬修補程序 - ActiveMerchant&SayPay
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
我在網上看了一下,想通SSL3支持有可能被SagePay下降,所以我嘗試設置:
http.ssl_version = :TLSv1
但我得到了同樣的錯誤。我試着設置:
http.ssl_version = :SSLv2
,但得到這個錯誤,而不是:
ActiveMerchant::ConnectionError (The remote server reset the connection):
我現在是在怎樣做的有點損失。我認爲SagePay現在只接受某個協議,但它不接受我的任何請求。
有關如何調試這種情況的任何意見?