This commit is contained in:
2026-06-12 09:22:39 +08:00
parent f8b715333c
commit 6be65a6d68
+1 -1
View File
@@ -385,7 +385,7 @@ def _get_wechat_client(
))
os.makedirs(wechat_cert_dir, exist_ok=True)
logger.info("WeChat Pay platform certificates will be stored in: %s", wechat_cert_dir)
logger.info(f"mch_id={mch_id}, cert_serial_no={cert_serial_no}, appid={appid}, notify_url={notify_url}, api_v3_key={api_v3_key}, private_key={private_key}")
# 初始化微信支付客户端,cert_dir=None,让 SDK 在线获取证书
_wechat_client = WeChatPay(
wechatpay_type=WeChatPayType.NATIVE,