Skip to content

Commit

Permalink
*: fix for alipay init
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Dec 19, 2023
1 parent 9d3beee commit 4c08e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/extensions/alipay.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def trade_precreate(
)

def trade_query(self, out_trade_no):
self.init_pay()
return self.alipay.api_alipay_trade_query(out_trade_no=out_trade_no)

def verify(self, data, signature):
self.init_pay()
return self.alipay.verify(data=data, signature=signature)

0 comments on commit 4c08e08

Please sign in to comment.