You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
使用支付宝沙箱环境创建网页支付接口得到的order_string无法正常使用,点击后报错invalid-app-id
折腾好久之后发现问题出在网关支付url的拼接上,网上查到的教程基本上都是过时陈旧的。事实上,在2023年12月的环境下支付页面应该是https://openapi-sandbox.dl.alipaydev.com/gateway.do? + order_string。查询issue后发现迄今没有人提到过这个问题,故提出此issue以记录。
Environment
OS version:Win10家庭中文版(内部版本19045)
Python version:3.11
Alipay version:3.3.0
To reproduce
以下是沙箱环境下可用的测试代码(注意填写自己的APP_ID): settings.py
Describe the problem
使用支付宝沙箱环境创建网页支付接口得到的order_string无法正常使用,点击后报错invalid-app-id
折腾好久之后发现问题出在网关支付url的拼接上,网上查到的教程基本上都是过时陈旧的。事实上,在2023年12月的环境下支付页面应该是
https://openapi-sandbox.dl.alipaydev.com/gateway.do? + order_string
。查询issue后发现迄今没有人提到过这个问题,故提出此issue以记录。Environment
OS version:Win10家庭中文版(内部版本19045)
Python version:3.11
Alipay version:3.3.0
To reproduce
以下是沙箱环境下可用的测试代码(注意填写自己的APP_ID):
settings.py
aliPayTest.py
**Expected behavior **
INVALID_PARAMETER
https://github.com/fzlee/alipay/blob/master/docs/init.zh-hans.md
中alipay_public_key_string
变量有着支付宝默认导出证书文件的后缀名,我不知道这是不是作者的一个笔误,还请斧正。The text was updated successfully, but these errors were encountered: