Comments (4)
你好, 这边的debug网管应该是修改到了 https://openapi-sandbox.dl.alipaydev.com/gateway.do
你可以查看源代码alipay/alipay/__init__.py 第85行左右
from alipay.
@Gungnir762 第二个问题我不是很明白。”变量有着支付宝默认导出证书文件的后缀名“, 不太明白你的意思, 你可以再详细描述一下问题
from alipay.
@Gungnir762 第二个问题我不是很明白。”变量有着支付宝默认导出证书文件的后缀名“, 不太明白你的意思, 你可以再详细描述一下问题
已经看到修改了,感谢。
第二个问题我确实没说清楚,那天改的头昏脑涨的。我的意思是,alipay_public_key_string
这个变量应该是从一个RSA/RSA2公钥文件(后缀一般为.pem
)中读取字符串,但是文档中打开的文件却有着.cert
的后缀名(一般为证书文件)。查看tests/certs/ali/ali_public_key.pem
的文档后发现其格式也是公钥文件格式,并且按照此文件的格式加上头尾进行读取后我的程序可以正常执行,所以我斗胆猜测此处可能是一个笔误。
from alipay.
明白了, crt和pem严格来讲尽管都是一堆base64的东西, 但是意义是有些不一样的。
我修改一下
from alipay.
Related Issues (20)
- alipay.api_alipay_trade_query(out_trade_no=order_id) HOT 4
- uwsgi 无法正常返回 HOT 6
- 验证回调通知错误 HOT 4
- 没有公网ip,怎么样验证支付是否成功 HOT 2
- 能否增加aes支持 HOT 2
- ImportError: cannot import name 'Alipay' from 'alipay'
- 使用支付宝公钥 初始化AliPay时报错 binascii.Error: Incorrect padding HOT 8
- ssl依赖该升级了 HOT 3
- 您好,请问支持分账吗? HOT 11
- 证书方式如何安装 HOT 30
- 是否支持证书方式的签名 HOT 10
- 应用网关是什么 HOT 3
- 3.0如何获取请求返回状态 HOT 10
- 获取用户信息怎么调用 HOT 9
- alipay支付网关已经变更了
- notify 回调消息验证失败 binascii.Error: Invalid base64-encoded string HOT 8
- ValueError: nameserver is not an IP address or valid https URL HOT 2
- 支付宝POST回调时使用alipay.verify报错 HOT 4
- 调试错误,请回到请求来源地,重新发起请求。 错误代码 invalid-signature 错误原因: 验签出错,建议检查签名字符串或签名私钥与应用公钥是否匹配 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alipay.