fix(payment): rely on Huihui callback for status
This commit is contained in:
@@ -36,8 +36,8 @@ class HuihuiOrgPaymentClient(HuihuiPaymentClient):
|
||||
return data
|
||||
|
||||
def create_order(self, *, token: str, user_id: str, name: str, phone: str,
|
||||
avatar: str, amount: str, pay_type: int) -> dict:
|
||||
body = {"chargeAmount": float(amount), "payType": pay_type,
|
||||
avatar: str, amount: str) -> dict:
|
||||
body = {"chargeAmount": float(amount),
|
||||
"commodityName": "数字分身积分充值", "userId": user_id,
|
||||
"name": name or "", "phoneNumber": phone or "", "avatar": avatar or ""}
|
||||
return self._request("POST", "/order/tokenRecharge", token=token, user_id=user_id, body=body)
|
||||
|
||||
Reference in New Issue
Block a user