pingpp-html5's People
Forkers
likang kucat80 scaperow cxq1992 markrui melvingod java02014 fencesky mybdgw liuc27 ajunboys kuguobing kissthink zilouzhang wanbaozhao andy521 yuqiaoo diycp zhangzhangzhangzhang lazylonely pighero001 zmgithub wwhgtt wf5477 qizisheng hustkiwi mumukun enjoyec zhaijinggang jerroldlee jh2015forgit jy03078959 yangchuyingt richardlee1978 zhoujiafei appcutt alexenix wormlxd hcxiong trentluo sunshineflowers steventsai yu-pu huming17 johnnycx127 shuffleld fzred cppmule mushroom1113 youshangyun daixianceng defercc ethanly61 caopengch zhangjingyuan everhopingandwaiting icelandre henrychelsea kolf zhlhuang nanw01 lurpis jameswei ajsky ljmomo valentison fatekiller lly835 chenbrooks ifa6 feinali starsw001 msdgwzhy6 zhnan811 hainee futan y123qb liaolunhui bikot1205 pody2015 willzwl katin438 for2cold tobedouble madfog myrtle008 huizhong quanr rongfengliang poppinyunhai semdy august-zou sunil12738 disappearwind binliang1990 techom freemindhack xbw12138 xuzng webinpingpp-html5's Issues
请问这个可以用在React Native版本吗?有没有官方示例?
非常感谢!
微信支付 调用 time_expire,有效截止时间非法
微信支付的时候,我设置了300秒的交易 time_expire
,但是300秒后显示 有效截止时间非法
我设置的时间是 int(time.time()) + 300
。
Can I use it on PC's browser?
请问这个能用于phonegap吗?
请问这个能用于phonegap吗?
1. 发布到NPM,2, 支持ES6
iframe中使用出问题
iframe中使用点击微信支付没有效果
不支持PC微信公众号扫码支付吗?
不支持PC微信公众号扫码支付吗?
新页面打开
请问一下pc端支付,可以在新页面打开支付吗
pingppPc.createPayment(_charge, function(result, err){
// 处理错误信息
console.log(result,err);
});
目前这种方式调用后在当前页面跳转到支付页面了。
移动渠道:wx_pub, 部分机型会出错(坚果手机,微信版本: 6.3.15)
引用文件: pingpp-html5
支付渠道: wx_pub
部分机型在创建微信订单的时候会报错:get_brand_wcpay_request:fail, err_msg: wx_result_fail
PC端的微信扫码支付(channel: "wx_pub_qr")是怎么个流程 ...
求指点迷津🐵
no_charge_id是什么原因
var amount = document.getElementById('amount').value * 100;
var xhr = new XMLHttpRequest();
xhr.open("POST", "http://localhost:3000/api/pay", true);
xhr.setRequestHeader("Content-type", "application/json");
xhr.send(JSON.stringify({
channel: channel,
amount: amount,
subject: 'audi A6',
desc: 'link to the car page for desc'
}));
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
console.log(xhr.responseText);
pingpp.createPayment(xhr.responseText, function(result, err) {
console.log(result);
console.log(err);
});
}
}
}
{"err":null,"charge":{"id":"ch_vD4az5bXXXf5nv9y9G1G080K","object":"charge","created":1448276047,"livemode":false,"paid":false,"refunded":false,"app":"app_KO8CGC8KWzL8qTW5","channel":"upacp_wap","order_no":"6bb29e38f8b6385c5fde9f7154ba25971e1e8f14","client_ip":"127.0.0.1","amount":100000,"amount_settle":0,"currency":"cny","subject":"audi A6","body":"link to the car page for desc","extra":{"result_url":"https://mcw.avosapps.com/result"},"time_paid":null,"time_expire":1448279647,"time_settle":null,"transaction_no":null,"refunds":{"object":"list","url":"/v1/charges/ch_vD4az5bXXXf5nv9y9G1G080K/refunds","has_more":false,"data":[]},"amount_refunded":0,"failure_code":null,"failure_msg":null,"metadata":{},"credential":{"object":"credential","upacp_wap":{"version":"5.0.0","encoding":"UTF-8","certId":"164284609791532637515646828757023519875","signMethod":"01","txnType":"01","txnSubType":"01","bizType":"000000","channelType":"08","backUrl":"https://api.pingxx.com/notify/charges/ch_vD4az5bXXXf5nv9y9G1G080K","accessType":"0","merId":"259397895241124","orderId":"6bb29e38f8b6385c5fde9f7154ba25971e1e8f14","txnTime":"20151123185407","txnAmt":100000,"currencyCode":"156","customerIp":"127.0.0.1","orderDesc":"audi A6","reqReserved":"ch_vD4az5bXXXf5nv9y9G1G080K","payTimeout":"20151123195407","frontUrl":"https://mcw.avosapps.com/result","signature":"NjE1ODU1NjIwMDU1NTE2MTg1MjY5NjA2ODI4NTY5NzMwNzQ2MjExNDg1ODUzNzk3NDMzMDcyMzYyMTA2ODE0Mw=="}},"description":null}}
pay.html:52 fail
extra: "no_charge_id"
msg: "invalid_charge"
proto: Object
壹收款有CDN,这个为什么没有
现在基本上都是用VUE的cli自动生成webpack项目,碰到这种不支持AMD方式的library最头痛,该更新一下了。
upmp_wap回调地址跳转错误
应跳转地址: xxx.com/pay/upmp_wap/result
实际跳转地址: xxx.com/pay/upmp_wap/result0
pingpp_pay.js 无法用yuicompressor压缩
原始大小没压过对于有流量洁癖的我来说不太爽,结果发现压缩出错,应该是JS语法问题。
npm安装的 [email protected]
Github上最新版的pingpp_pay.js @2.0.4
~> yuicompressor --type js pingpp_pay.js pingpp_pay.min.js
[ERROR] in pingpp_pay.js
162:18:invalid property id
[ERROR] in pingpp_pay.js
162:19:syntax error
[ERROR] in pingpp_pay.js
163:20:syntax error
[ERROR] in pingpp_pay.js
164:19:syntax error
[ERROR] in pingpp_pay.js
165:19:syntax error
[ERROR] in pingpp_pay.js
166:49:missing ; before statement
[ERROR] in pingpp_pay.js
167:20:syntax error
[ERROR] in pingpp_pay.js
168:19:missing ) after argument list
[ERROR] in pingpp_pay.js
169:20:syntax error
[ERROR] in pingpp_pay.js
178:10:missing ; before statement
[ERROR] in pingpp_pay.js
184:5:syntax error
[ERROR] in pingpp_pay.js
185:31:missing ; before statement
[ERROR] in pingpp_pay.js
186:14:syntax error
[ERROR] in pingpp_pay.js
187:7:syntax error
[ERROR] in pingpp_pay.js
188:38:missing ; before statement
[ERROR] in pingpp_pay.js
189:18:syntax error
[ERROR] in pingpp_pay.js
190:7:syntax error
[ERROR] in pingpp_pay.js
191:18:syntax error
[ERROR] in pingpp_pay.js
193:7:syntax error
[ERROR] in pingpp_pay.js
194:10:syntax error
[ERROR] in pingpp_pay.js
195:12:syntax error
[ERROR] in pingpp_pay.js
196:5:syntax error
[ERROR] in pingpp_pay.js
197:4:syntax error
[ERROR] in pingpp_pay.js
199:10:syntax error
[ERROR] in pingpp_pay.js
200:10:syntax error
[ERROR] in pingpp_pay.js
202:11:invalid return
[ERROR] in pingpp_pay.js
204:13:missing ; before statement
[ERROR] in pingpp_pay.js
206:4:syntax error
[ERROR] in pingpp_pay.js
208:18:syntax error
[ERROR] in pingpp_pay.js
209:52:missing ; before statement
[ERROR] in pingpp_pay.js
210:38:missing ; before statement
[ERROR] in pingpp_pay.js
211:14:syntax error
[ERROR] in pingpp_pay.js
212:7:syntax error
[ERROR] in pingpp_pay.js
213:12:syntax error
[ERROR] in pingpp_pay.js
214:5:syntax error
[ERROR] in pingpp_pay.js
215:4:syntax error
[ERROR] in pingpp_pay.js
217:19:syntax error
[ERROR] in pingpp_pay.js
253:3:syntax error
[ERROR] in pingpp_pay.js
293:1:syntax error
[ERROR] in pingpp_pay.js
1:0:Compilation produced 39 syntax errors.
org.mozilla.javascript.EvaluatorException: Compilation produced 39 syntax errors.
at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeError(YUICompressor.java:172)
at org.mozilla.javascript.Parser.parse(Parser.java:396)
at org.mozilla.javascript.Parser.parse(Parser.java:340)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
支付宝即时到账 typo
请支持 bower 下载
类似 bower install pingpp
请问PC端网页能使用Ping++的支付接口吗?
RT
安卓微信调用出错
get_brand_wcpay_request: fail
授权目录已设置好。
在 ios 下没问题。
pinus.html 引用 pingpp_pay.js 位置错误
example-wap/views/pinus.html 中第 31 行,引用 pingpp_pay.js,目录结构中多了一层。应将"../../../src/pingpp_pay.js"改为"../../src/pingpp_pay.js"
求完整版本的 https://one.pingxx.com/lib/pingpp_one.js
我在ruby on rails
能够成功使用 https://one.pingxx.com/lib/pingpp_one.js
!
现在的问题是, 我想 html5的离线特性,把pingpp_one.js缓存到本地, 优化用户体验. 但 离线版本的pingpp_one.js
会抓取https://one.pingxx.com/lib/sea.js
并 报出错误
GET https://one.pingxx.com/lib/sea.js net::ERR_FAILED
其中 https://one.pingxx.com/lib/pingpp_one.js
的部分代码为:
var one_url='https://one.pingxx.com/one_html5_v2/index.js';
var sea_url='https://one.pingxx.com/lib/sea.js';
var pingpp_one=function(){};
window.pingpp_one=new pingpp_one();
var e=document.createEvent('Event');
e.initEvent('pingpp_one_ready',true,true);
var use=function(){
seajs.use(one_url,function(index){
var t=index('./init');
var s=index('./success');
pingpp_one.prototype.init=function(opt,callback){
t.init(opt,callback);
};
pingpp_one.prototype.success=function(callback,continueCallback){
s.init(callback,continueCallback);
};
pingpp_one.prototype.resume=function(){
t.resume();
};
document.dispatchEvent(e);
});
};
我猜想这个就是问题所在, 因此能否麻烦您给我一个合并以下三个js文件的大js吗
- https://one.pingxx.com/lib/sea.js
- https://one.pingxx.com/one_html5_v2/index.js
- https://one.pingxx.com/lib/pingpp_one.js
谢谢!
no_charge_id是什么原因
返回invalid charge
微信和支付宝调用客户端
支付宝支付不能调起支付宝客户端。微信支付也想在非微信内置浏览器中调起微信客户端进行支付,能做到吗?
bower install 下载量太大了
你们可以创建个没有那些 example 的版本,bower install 的时候会下载这些内容,太耗时间了。
最新alipay改动需要升级html-one吗
我之前用的python版的pingserver (有一些自己的改动),html-one的客户端。
请问最新alipay改动中提到的需要更新SDK是指要改新客户端还是更新server端的SDK?
html-one这边的代码需要更新吗
支持微信和支付宝扫码支付?
你好,我想在网页端使用 pingpp
。看文档的FAQ上说:
Ping++ 还支持微信和支付宝扫码支付
但是我看了下源码,渠道中似乎没有覆盖扫码支付吧:
https://github.com/PingPlusPlus/pingpp-html5/blob/master/src/pingpp_pay.js#L17-25
请问应该如何实现?
壹收款
Uncaught RangeError: Maximum call stack size exceeded
在引用js,调用init时报错。
在HHVM中使用报错
最近装上了HHVM,然后用的是Laravel4.2,发现在新环境下一直报错,
{"error":{"type":"ErrorException","message":"cannot get cert from parameter 1","file":"/data/www/test/vendor/pingplusplus/pingpp-php/lib/ApiRequestor.php","line":400}}
查了一下是openssl_x509_export()这个地方,
后来一直没找到问题,换到PHP5.6的环境下,就没问题了,所以应该是HHVM跟Ping++直接兼容的问题,
所以来报一下BUG
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.