2016-07-08 46 views
0

我在WooCommerce中設置PayPal Express Checkout。我已經設置了API密鑰和證書,但保存後我得到錯誤「錯誤:對不起,易安裝遇到錯誤,請重試。」在日誌中,我看到以下錯誤:WooCommerce:在cURL配置期間無法寫入證書文件

07-08-2016 @ 11:27:22 - WC_Gateway_PPEC_Client::_request: exception is thrown while trying to make a request to PayPal: Unable to write certificate file during cURL configuration

07-08-2016 @ 11:27:22 - WC_Gateway_PPEC_Client::_request: returns error: Array ( [ACK] => Failure [L_ERRORCODE0] => 2 [L_SHORTMESSAGE0] => Error in WC_Gateway_PPEC_Client::_request [L_LONGMESSAGE0] => Unable to write certificate file during cURL configuration [L_SEVERITYCODE0] => Error)

您是否有任何此錯誤的經驗?

+0

模式是「沙盒」。 – mirap

+0

如果您的網站具有SSL證書定義('FORCE_SSL_ADMIN',true),請將此代碼添加到您的配置文件中; –

+0

@RajKumarBhardwaj我的網站沒有SSL證書。無論如何 - 這個錯誤的起源是什麼? – mirap

回答

0

有必要更改服務器的設置和強制HTTPS。