xiong-it / easypay Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED]A simple frame for mobile pay in China, easy to use & expand . 简单易用的第三方可扩展支付框架。
License: Apache License 2.0
[DEPRECATED]A simple frame for mobile pay in China, easy to use & expand . 简单易用的第三方可扩展支付框架。
License: Apache License 2.0
As usual, I get an order number from server and put it to payment client and send a payment request. The question is that how I can use this order number through your "EasyPay"?
不更新了吗
谢谢,看到了
原因是:
在EasyPay类中,先是在requestPayInfo()中调用了一次sendPayResult();即调用了一次 releaseMemory();此时mPayParams为null,后来又在toPay()中又调用了一次。
mOnPayResultListener.onPayFailure(mPayParams.getPayWay(), code);mPayParams.getPayWay()为空指针。
建议将releaseMemory()方法放在doPay()中
还是依赖直接得好。不断删除现有工程的依赖和jar包真的还是有点伤啊。
我想集成支付功能了,看到了你这个库 不知道是否还在维护中呢 ?
为什么你没有用WXPayEntryActivity 而官方文档说要用 大神你是怎么做到的 求教
PayWay way = mPayParams.getPayWay();
if (mPayParams.getPayWay() == null) {
throw new NullPointerException("请设置支付方式");
}
建议是把请求参数的判断放到获取预付订单之前,如果没有设置支付方式这样就可以减少一次网络请求
我看支付宝微信支付结束后,把支付结束结果返回给客户端后,客户端还需要在服务端进行验证,这里怎么没有进行验证
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.