We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`pingpp.createPayment(result,async function (res, err) { // object 需是 Charge/Order/Recharge 的 JSON 字符串 // 可按需使用 alert 方法弹出 log console.log("result:" + res); console.log("err.msg:" + err.msg); console.log("err.extra:" + err.extra); if (res == "success") { $$alert('ping++支付成功')
console.log('success'); // 只有微信JSAPI (wx_pub)、微信小程序(wx_lite)、QQ 公众号 (qpay_pub)、支付宝小程序(alipay_lite)支付成功的结果会在这里返回,其他的支付结果都会跳转到 extra 中对应的 URL } else if (res == "fail") { console.log('fail'); $$alert('fail') // Ping++ 对象 object 不正确或者微信JSAPI/微信小程序/QQ公众号支付失败时会在此处返回 } else if (res == "cancel") { console.log('cancel'); $$alert('cancel') // 微信JSAPI、微信小程序、QQ 公众号、支付宝小程序支付取消支付 }`
The text was updated successfully, but these errors were encountered:
您好,微信小程序需要使用真实的参数发起测试验证
Sorry, something went wrong.
No branches or pull requests
`pingpp.createPayment(result,async function (res, err) {
// object 需是 Charge/Order/Recharge 的 JSON 字符串
// 可按需使用 alert 方法弹出 log
console.log("result:" + res);
console.log("err.msg:" + err.msg);
console.log("err.extra:" + err.extra);
if (res == "success") {
$$alert('ping++支付成功')
The text was updated successfully, but these errors were encountered: