pingpp-js's Issues
channel module "wx_wap" is undefined
channel module "wx_wap" is undefined ?
require('pingpp-js')方式引入js报错
通过
var pingpp = require('pingpp-js');
引入js文件引用后报错Uncaught ReferenceError: require is not defined
怎么集成?
我刚开始弄这个东西,我们用React做,文档不是很详细,完全不知道怎么开始啊!
react native支持吗?
在看你们官网上有说支持RN,不清楚还在维护没,我可能会先用RN开发,所以问下
Channel wx_pub_qr is invalid是什么原因啊?
gulp build --channels="alipay_pc_direct wx_pub wx_pub_qr"
时提示
Channel wx_pub_qr is invalid. The channels you can use: alipay_pc_direct,alipay_qr,alipay_wap,bfb_wap,cb_alipay_pc_direct,cb_alipay_wap,cb_wx_pub,cmb_pc_qr,cmb_wallet,cp_b2b,fqlpay_qr,fqlpay_wap,isv_wap,jdpay_wap,paypal,qpay_pub,upacp_b2b,upacp_pc,upacp_wap,upmp_wap,wx_lite,wx_pub,wx_wap,yeepay_wap.
使用支付宝支付的时候没有回调success_url
在支付宝支付成功或取消时,无法回调到success_url 或cancel_url
使用wx_wap支付后,获取支付结果有延迟
app中加载网页使用wx_wap调起微信客户端支付。
支付成功后,返回成功的url链接。
但是此时查询pingpp的订单结果,却显示未支付,延迟几秒后查询,返回正确的支付结果。
这种情况会导致用户看到的信息和后台数据对不上,如何解决下?客户端直接调用客户端的sdk就没有这个问题。
js端 不支持 微信扫码支付吗?
web PC端 不支持 微信扫码支付吗?
wap.html:61 Uncaught TypeError: pingpp is not a constructor
希望在dist下新增一个pingpp_pc.js,方便使用pc渠道的用户直接下载使用
paypal 渠道 setUrlReturnCallback 无效
// in channels/paypal.js var utils = require('../utils'); module.exports = { handleCharge: function(charge) { var credential = charge.credential[charge.channel]; utils.redirectTo(credential, ??); } };
redirectTo 方法缺失 channel 参数
支付宝小程序中使用了 window.location 报错
src/collection.js:21
使用了 window, 在支付宝小程序中调试时会出现如下报错
Cannot read property 'location' of undefined
在支付宝官方文档 中提到 window 在小程序中不可用
从标准版转到广告版相关问题
2.1.10版bug
channel为alipay_pc_direct时,支付宝gateway页面缺少_input_charset参数,导致签名错误,报错ILLEGAL_SIGN。
手机端微信调用支付宝网页支付,没有反应
紧急求助pingpp.js不支持ie8吗
pingpp.js不支持ie8吗,有什么办法解决吗,爆js错误:
网页错误详细信息
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
时间戳: Wed, 12 Oct 2016 05:00:17 UTC
消息: 'document.body' 为空或不是对象
行: 1
字符: 11017
代码: 0
URI: http://127.0.0.1:8080/yangbanjian/web/js/pingpp.js
TypeScript typing issue.
Able to accept TypeScript typing definition to Pull request?
Add a way to allow initialization when needed
Currently this package initialize automatically when app starts, it slows down the initial page loading time.
it would be great to allow initialize it only when Pingpp payment process starts.
微信公众号支付fail,返回{msg: "wx_result_fail", extra: ""}
能换到用户的openId,但是调用ping++的js方法就会result == fail,打印出err是{msg: "wx_result_fail", extra: ""}
测试环境pc端,微信支付有没有回调地址?
怎么设置微信支付成功后的回调地址
调用ping++公众号支付
请问调用pingpp.createPayment之前,还需要先集成wx-jssdk并且调用wx.config配置微信sdk吗?
setUrlReturnCallback 设置后无效, 仍然会跳转到新页面
调用代码如下:
handleClick = () => {
pingpp.setUrlReturnCallback((err, url) => {
console.log(url)
})
pingpp.createPayment(pingppObject, (result, err) => {
// 可按需使用 alert 方法弹出 log
console.log(result)
console.log(err.msg)
console.log(err.extra)
})
}
请问H5的SDK可以直接用客户端的webview加载页面吗?
v2.1.2微信内createPayment模拟付款后没有返回结果
页面加载时 偶尔有前端异常Can't find variable: _WXJS
iOS6.3.22稳定复现,Android正常、微信web开发者工具模拟正常
iOS 10 下无法支付
环境:
- iOS 10
- pingpp-js 2.2.18(使用 gulp 构建了一份不含 alipay_in_weixin 的版本)
暂时降级到了 2.2.1
模拟付款返回401
确定模拟付款后,请求是有发出去的,但是返回401.
经过排查,是没有Authentication造成的。
同样的请求用postman加Authentication就正常执行,返回success字样。
看源代码中发模拟付款的部分,没有看到加Authentication的地方。
但印象中,以前用同一套代码是可以执行模拟付款的。
pingpp.js 版本 2.0.7
请教web打包成的app可以调用这个实现支付吗
请教web打包成的app可以调用这个实现支付吗
在微信浏览器中无法发起支付
我查了一下,是XMLHttpRequest没有定义, 可能是ajax同源策略造成的
request: function(url, method, requestData,
successCallback, errorCallback, headers) {
if (typeof XMLHttpRequest !== 'function') {
alert('Function XMLHttpRequest is undefined.');
return;
}
var xhr = new XMLHttpRequest();
if (typeof xhr.timeout !== 'undefined') {
xhr.timeout = 6000;
}
Uncaught TypeError in main.js
line 43: typeof payment_elements.app.id === 'string')
Uncaught TypeError: Cannot read property 'id' of null
app is null~!!
why..
cookie.pingxx.com是干嘛的
加载这个有点慢啊
微信公众号支付调起提示get_brand_wcpay_request fail
微信公众号支付调起提示get_brand_wcpay_request fail,请问是何原因,在商户平台处已配置好支付授权目录
编译出错
编译时候出现这个错误:
/root/pingpp-js-master/node_modules/gulp-sourcemaps/node_modules/strip-bom/index.js:2
module.exports = x => {
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/pingpp-js-master/node_modules/gulp-sourcemaps/src/init/index.internals.js:7:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
怎么解决呢?
在微信中使用支付宝 H5 支付时,setUrlReturnCallback 无效
由于我们使用 react ,想通过 setUrlReturnCallback 在拿到支付 url 之后自己做引导页面(不想用 pay.htm)。可否加一个判断,在微信中如果进行支付宝 H5 支付,不直接跳转到 pay.htm,而是看看回调函数是否有设置,如果有就用开发者自定义的。
版本:npm 完整版 2.2.18
错误代码:
pingpp.setUrlReturnCallback(function (err, url) {
if (isInWechat) {
browserHistory.push(`/payment-guide/?to=${btoa(url)}&uuid=${payment_uuid}`);
return;
}
window.location.href = url;
}, ['alipay_wap']);
pingpp.createPayment(charge);
iPhone6 Safari [无痕浏览]模式、调用pingpp.createPayment报错 、如图:
这个代码库是server端的还是client端的
我之前用的python版的pingserver (有一些自己的改动),html-one的客户端。
貌似用不到更新这个代码库里的东西吧?
wx_pub_qr这个不能使用
wx_pub_qr这个不能使用,我怎么调用微信扫码支付
cookie.pingxx.com 504
https://cookie.pingxx.com/?puid=.... 504 (Gateway Time-out)
有没有参数可以设置弹窗支付而不是跳转支付?
我的网页是单页面应用,用跳转支付后,我的路由历史全被清空了...求教.
iphone6 ios8.3系统提示 当前URL未注册
ie11不支持includes方法,报错
src/callbacks.js => line43
return this.urlReturnChannels.includes(channel);
ie11不支持includes方法
有计划支持微信小程序内支付吗?
微信小程序支付,好像也是调用的微信公众号支付,有计划支持吗?
微信内微信模拟支付 点击 好 后没有支付成功
没有跳转,后台server也收不到webhooks的回调
a.error is not a function
pingpp.js:1 Uncaught TypeError: a.error is not a function
at Object.init (pingpp.js:1)
at PingppSDK.createPayment (pingpp.js:1)
at XMLHttpRequest.xhr.onreadystatechange (wap.html:62)
微信公众号支付的模拟付款点击「取消」后模拟实际付款的 cancel
目前代码里点击「取消」后就没有反应了
求添加bower包
想用bower来安装,求加包!
README.md中 引用的2处文档 均为404页面
README.md中 引用的2处文档 均为404页面
将
open_id
作为创建charge
时的extra
参数,具体方法参考技术文档
wx_pub_qr需要调用pingpp.createPayment吗?
微信扫码支付,从charge中拿到了二维码地址,所以不需要调用pingpp.createPayment?
但生成二维码并支付后,并没有支付成功或失败的callback
如果调用了pingpp.createPayment会直接报错channel module "wx_pub_qr" is undefined
IE总是跳出来提示
测试环境下微信H5支付成功之后没有回调地址
测试环境下微信H5支付成功之后没有回调地址,尝试添加了success_url,没有效果,但是支付宝添加了success_url可以成功回调
都找不到关于pc前端的demo
这个是朋友发我的,官网的文档都是说服务器端的搭配,或h5手机端的,少说pc端,我看了这个demo很简单,我就不知道,我到时候配合后端支付,是否就这么简单
- 向服务器发起支付请求(支付类型),根据返回的对象显示即可.
- ?如何确保支付成功.?
3.这git的维护更新略好低
PC:http://demo.pingxx.com/payments/pc/?from=groupmessage&isappinstalled=0
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.