Comments (11)
可以给出你调用接口的具体方法吗?我这边目前是好的。
from alipay.
我也不知道哪里有问题,能加qq联系么,调用的是app支付
from alipay.
我不太用QQ老实说,你可以贴上生成order_string的部分代码,我可以帮忙看看
from alipay.
alipay = AliPay(appid=Config.ALIPAY_PARTNER_ID, app_private_key_path=Config.ALIPAY_PRIVATE_KEY,
app_alipay_public_key_path=Config.ALIPAY_PUBLIC_KEY, sign_type='RSA2',
app_notify_url=Config.ALIPAY_NOTIFY_URL)
order_string = alipay.create_app_trade(out_trade_no="20161112", total_amount="0.01", subject="testing order")
from alipay.
你的接口调用方法应该没有问题。你可以帮忙确认以下几件事情吗?
- 我看见你的appid是ALIPAY_PARTNER_ID。你要确认这个确实是用于app支付的appid。
- 试试将total_amount变为
0.01
而不是"0.01"
. - 尝试调用这个方法
alipay.create_wap_trade
在浏览器里面尝试支付一笔订单。 - 给出支付宝报错的完整输出,后台或者浏览器报的错都可以
from alipay.
好 我现在调试
from alipay.
能给一个简便的联系方式么,github上聊天有点怪
from alipay.
from alipay.
可以
from alipay.
from alipay.
恩恩 调试好了 多谢帮助
from alipay.
Related Issues (20)
- RSA key format is not supported HOT 8
- 支付宝公钥已经采用证书的形式,没有提供公钥这种形式,需要自己转换?请问有没有好的解放方案么?谢谢 HOT 3
- 添加支持 alipay.fund.account.query(支付宝资金账户资产查询接口) HOT 2
- 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
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.