bugfix
This commit is contained in:
parent
2823f3a994
commit
296ab7ff8e
@ -91,11 +91,14 @@ class AlipayGateway(Gateway):
|
||||
"""
|
||||
self.setup_session()
|
||||
debug(f'{payload=}')
|
||||
product_code = 'FAST_INSTANT_TRADE_PAY'
|
||||
if payload._is_mobile:
|
||||
product_code = 'QUICK_WAP_WAY'
|
||||
biz_content = {
|
||||
"out_trade_no": payload["out_trade_no"],
|
||||
"total_amount": payload["amount"],
|
||||
"subject": payload["payment_name"],
|
||||
"product_code": "QUICK_WAP_WAY"
|
||||
"product_code": product_code
|
||||
}
|
||||
method='alipay.trade.page.pay'
|
||||
if payload._is_mobile:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user