11
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user