This commit is contained in:
2026-06-10 17:32:30 +08:00
parent b411c818c7
commit 44c6d9e9fd
-3
View File
@@ -283,7 +283,6 @@ def _create_alipay_order(order: PaymentOrder, db_configs: dict[str, str]) -> str
app_id = db_configs.get("payment_alipay_app_id", "")
private_key = db_configs.get("payment_alipay_private_key", "")
public_key = db_configs.get("payment_alipay_public_key", "")
notify_url = db_configs.get("payment_alipay_notify_url", "")
gateway = db_configs.get("payment_alipay_gateway", "")
if not app_id or not private_key:
@@ -316,8 +315,6 @@ def _create_alipay_order(order: PaymentOrder, db_configs: dict[str, str]) -> str
request = AlipayTradePrecreateRequest()
request.biz_model = model
if notify_url:
request.notify_url = notify_url
response = client.execute(request)