WooCoomerce 网络钩子和 django

时间:2021-02-22 11:19:05

标签: python-3.x

我正在创建与 WooCommerce webhooks 的集成,但我遇到了一点问题。当我在本地运行服务器时,我无法接收 webhook,但是当我将代码推送到工作网站只是为了测试它时。我收到错误

[Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
        [Response] => Array
            (
                [Code] => http_request_failed
                [Message] => cURL error 60: SSL certificate problem: unable to get local issuer certificate
                [Headers] => Array
                    (
                    )

                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
            )

关于证书的任何建议如何修复它? 我正在使用 python django 框架。

0 个答案:

没有答案