tsy12321 / payandroid Goto Github PK
View Code? Open in Web Editor NEWAndroid端对微信App支付和支付宝App支付的SDK进行二次封装,对外提供一个较为简单的接口和支付结果回调
License: Apache License 2.0
Android端对微信App支付和支付宝App支付的SDK进行二次封装,对外提供一个较为简单的接口和支付结果回调
License: Apache License 2.0
请问appkey,privatekey如何配置。构造方法中的param参数传入参数代表什么呢
还有文档要认真一点写啊。还有您的demo可以跑起来吗?感觉缺了很多东西一样
我记得旧版SDK支付参数和付款信息是由APP生成,如订单号、签名、商品名称、价格等,现在新版咋用?
希望您能回答 , 谢谢
微信同理
在手机上根据包名由签名工具生成字符串,安装的apk必须是正式签名的吗?
打开你的简书链接,直接搜索 pay_param 根本搜不到。旧版本可以搜到,是要服务器生成?可是我们不是做服务器的啊
这是我的param:{"appid":"wxc092bce380c0038c","noncestr":"1uT0PHHQwYwRmJPZ0NBGr8NuZQQ2R9Hi","package":"Sign=WXPay","partnerid":"wx20170117174110c14259b59e0856844978","sign":"58E8313401E052505CC0B509F1CD2788","timestamp":"1484646070000","prepayid":"wx20170117174110c14259b59e0856844978"}
APK是打包的,开放平台的签名也是打包后获取的签名,注册文件也是和你描述的一致。不知道为何一调用微信支付,就返回支付失败
应该是这样的:com.tsy.sdk.pay.weixin.WXPayCallbackActivity
而不是:com.tsy.pay.weixin.WXPayCallbackActivity
微信支付可以吗?我没看到微信回调页面,这个一定要放到“App包名.wxapi”的package中,否则无法响应回调。请问作者试过了吗
可以调用微信,也可以分享。。。。签名,包名都正常....
服务器上获取的订单信息也正常...
但是启动微信后返回NULL ,支付失败
return_code: "SUCCESS",
return_msg: "OK",
appid: "XXXXXXXX",
mch_id: "XXXXXXX",
nonce_str: "mHX3FWyAXYhlX2HM",
sign: "E5F8A91EE93E2BD06DD71CEFECFC3703",
result_code: "SUCCESS",
prepay_id: "wx2017011220561934f67262b80544980295",
trade_type: "APP",
package: "Sign=WXPay"
我使用最新的支付宝sdk没有问题了,请验证下这个问题,不知道是不是jar太老了支付宝限制了?
不知道如何让后台同步收到支付回调的消息呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.