This commit is contained in:
yumoqing 2025-12-12 17:15:40 +08:00
parent 092a9a5d96
commit 0b95095a87

View File

@ -8,9 +8,9 @@ from .paylog import PaymentLog
CONF = {
"wechat": {
"mchid": os.getenv("WXP_MCHID",""),
"serial_no": os.getenv("WXP_SERIAL",""),
"privkey_pem": open(os.getenv("WXP_PRIVKEY","./merchant_private_key.pem"),"rb").read(),
"platform_pub_pem": open(os.getenv("WXP_PLATFORM_PUB","./platform_pub.pem"),"rb").read(),
"appid": os.getenv("WXP_APPID", "")
"cert_serial_no": os.getenv("WXP_SERIAL",""),
"private_key_pem": open(os.getenv("WXP_PRIVKEY","./merchant_private_key.pem"),"rb").read(),
"api_v3_key": os.getenv("WXP_API_V3_KEY","").encode()
},
"paypal": {