bugfix
This commit is contained in:
parent
2f292d7f6d
commit
5c62d852c3
@ -97,10 +97,12 @@ class AlipayGateway(Gateway):
|
|||||||
"subject": payload["payment_name"],
|
"subject": payload["payment_name"],
|
||||||
"product_code": "QUICK_WAP_WAY"
|
"product_code": "QUICK_WAP_WAY"
|
||||||
}
|
}
|
||||||
|
method='alipay.trade.page.pay'
|
||||||
|
if data._is_mobile:
|
||||||
|
method = 'alipay.trade.wap.pay'
|
||||||
params = {
|
params = {
|
||||||
"app_id": self.app_id,
|
"app_id": self.app_id,
|
||||||
"method": "alipay.trade.wap.pay",
|
"method": method,
|
||||||
"format": "JSON",
|
"format": "JSON",
|
||||||
"charset": "utf-8",
|
"charset": "utf-8",
|
||||||
"sign_type": "RSA2",
|
"sign_type": "RSA2",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user