我在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)
您是否有任何此錯誤的經驗?
模式是「沙盒」。 – mirap
如果您的網站具有SSL證書定義('FORCE_SSL_ADMIN',true),請將此代碼添加到您的配置文件中; –
@RajKumarBhardwaj我的網站沒有SSL證書。無論如何 - 這個錯誤的起源是什麼? – mirap