sever端逻辑
auth.getAccessToken怎么获取token?微信官方文档,接口调用凭证,auth.getAccessToken,这个api怎么使用,给了一个地址和参数,怎么使用呢?使用wx.request,地址校检会报错。请大家给个代码示例用法,谢谢
2019-08-22restart
微信开发者工具,编辑器出不来内容,也不可预览小程序[图片] 编辑器出不来内容
2019-08-22贴请求包
发放代金券按照官方文档进行代金券发放,调用https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons,一直返回 "message": "参数“批次id”是必填项",但是stock_id已经传递了,有点懵了。。
2019-08-22openid的判断啊
微信支付自动跳转链接怎么实现微信支付后就可以观看我的产品技术教程
2019-08-22证书那块问题
微信支付统一下单报错avax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target2019-08-22 22:06:27.163 INFO 28106 --- [pool-3-thread-1] wxpay java sdk : get first report msg: 2019-08-22 22:06:27.164 INFO 28106 --- [pool-3-thread-1] wxpay java sdk : try get remain report msg at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052) at sun.security.ssl.Handshaker.process_record(Handshaker.java:987) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:323) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) at com.company.platform.base.config.wxpay.sdk.WXPayRequest.requestOnce(WXPayRequest.java:108) at com.company.platform.base.config.wxpay.sdk.WXPayRequest.request(WXPayRequest.java:127) at com.company.platform.base.config.wxpay.sdk.WXPayRequest.requestWithoutCert(WXPayRequest.java:232) at com.company.platform.base.config.wxpay.sdk.WXPay.requestWithoutCert(WXPay.java:158) at com.company.platform.base.config.wxpay.sdk.WXPay.unifiedOrder(WXPay.java:364) at com.company.platform.base.config.wxpay.sdk.WXPay.unifiedOrder(WXPay.java:340) at com.company.platform.restapi.service.hfss.impl.CourseApplyServiceImpl.unifiedorder(CourseApplyServiceImpl.java:474) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2019-08-22无法提现提示什么呢
如果有两个商户号,但只使用一个,另一个上还有钱提不出来,该怎么办???有两个商户但只有一个在用而且另一个上有钱还无法提现,该怎么办啊??? 求大神解答
2019-08-22如果没有获取到信息,不设置分享就是了。
onShareAppMessage可以拦截吗?我分享的时候想先判断一下是否获取了用户信息,如果没有用户信息则拦截分享,我在onShareAppMessage里面做了拦截,但是不生效,不知道有什么好的办法来解决此问题
2019-08-22不行吧,订单号要重新做吧
h5支付和jsapi交替支付浏览器中调起h5支付后,取消,生成未支付订单 在公众号中继续支付h5未支付成功的订单,使用jsapi继续支付,应该怎么处理
2019-08-22http://app-cdn.starcharge.com/wapActivity/hyshare/index.html?#/
url未注册? 支付地址是 http://app-cdn.starcharge.com/wapActivity/hyshare/index.html?#/?inviteCode=NCwTLdsgOG&userId=518ce889-f60a-4dda-a962-1efc9ae2e9bf&appVipType=0&myInviteCode=CtJLnO4zTe 配置的是 http://app-cdn.starcharge.com/wapActivity/hyshare/ 请问哪里不对?
2019-08-22jsaspi支付还是刷卡支付,为什么现在的人提问都没有前文呢。
关于微信内支付成功后部分用户无法跳转到结果页我们每天大概有300个支付成功的订单,但是经常能收到大概5个用户的投诉,投诉说:“支付成功后无法跳转到支付成功的界面”,有没有大神遇到过这种问题?该怎么解决? [代码]<script type=[代码][代码]"text/javascript"[代码][代码]>[代码][代码] [代码][代码]//防止微信不跳转,定时刷新支付状态[代码][代码] [代码][代码]$(document).ready([代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]setInterval([代码][代码]"ajaxstatus()"[代码][代码], 3000);[代码][代码] [代码][代码]});[代码][代码] [代码][代码]//调用微信JS api 支付[代码][代码] [代码][代码]function[代码] [代码]jsApiCall()[代码][代码] [代码][代码]{[代码][代码] [代码][代码]WeixinJSBridge.invoke([代码][代码] [代码][代码]'getBrandWCPayRequest'[代码][代码],[代码][代码] [代码][代码]{$jsApiParameters},[代码][代码] [代码][代码]function[代码][代码](res){[代码][代码] [代码][代码]WeixinJSBridge.log(res.err_msg);[代码][代码] [代码][代码]if[代码][代码](res.err_msg==[代码][代码]'get_brand_wcpay_request:ok'[代码][代码]){[代码][代码] [代码][代码]$([代码][代码]"#bt1"[代码][代码]).hide();[代码][代码] [代码][代码]$([代码][代码]"#bt2"[代码][代码]).show();[代码][代码] [代码][代码]setTimeout([代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]location.href=[代码][代码]'{$pay_result}'[代码][代码]; [代码][代码]//跳转到结果页[代码][代码] [代码][代码]}, 1000);[代码][代码] [代码][代码]}[代码][代码]else[代码][代码]{[代码][代码] [代码][代码]$.get([代码][代码]"/index/newpayapp/pay_verification/oid/{$order_info.oid}"[代码][代码],[代码][代码]function[代码][代码](data,status){[代码][代码] [代码][代码]var[代码] [代码]datas = eval([代码][代码]"("[代码][代码]+data+[代码][代码]")"[代码][代码]);[代码][代码] [代码][代码]if[代码][代码](datas.res==[代码][代码]'success'[代码][代码]){[代码][代码] [代码][代码]setTimeout([代码][代码]function[代码][代码](){[代码][代码] [代码][代码]location.href=[代码][代码]'{$pay_result}'[代码][代码];[代码][代码] [代码][代码]},1500)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}); [代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]);[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]function[代码] [代码]callpay()[代码][代码] [代码][代码]{[代码][代码] [代码][代码]if[代码] [代码]([代码][代码]typeof[代码] [代码]WeixinJSBridge == [代码][代码]"undefined"[代码][代码]){[代码][代码] [代码][代码]if[代码][代码]( document.addEventListener ){[代码][代码] [代码][代码]document.addEventListener([代码][代码]'WeixinJSBridgeReady'[代码][代码], jsApiCall, [代码][代码]false[代码][代码]);[代码][代码] [代码][代码]}[代码][代码]else[代码] [代码]if[代码] [代码](document.attachEvent){[代码][代码] [代码][代码]document.attachEvent([代码][代码]'WeixinJSBridgeReady'[代码][代码], jsApiCall);[代码][代码] [代码][代码]document.attachEvent([代码][代码]'onWeixinJSBridgeReady'[代码][代码], jsApiCall);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]else[代码][代码]{[代码][代码] [代码][代码]jsApiCall();[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]function[代码] [代码]ajaxstatus(){[代码][代码] [代码][代码]$.get([代码][代码]"/index/newpayapp/pay_verification/oid/{$order_info.oid}"[代码][代码],[代码][代码]function[代码][代码](data,status){[代码][代码] [代码][代码]var[代码] [代码]datas = eval([代码][代码]"("[代码][代码]+data+[代码][代码]")"[代码][代码]);[代码][代码] [代码][代码]if[代码][代码](datas.res==[代码][代码]'success'[代码][代码]){[代码][代码] [代码][代码]$([代码][代码]"#btn2"[代码][代码]).show();[代码][代码] [代码][代码]$([代码][代码]"#btn1"[代码][代码]).hide(); [代码][代码]//手动点击按钮,跳转到结果页[代码][代码] [代码][代码]}[代码][代码]else[代码][代码]{[代码][代码] [代码][代码]$([代码][代码]"#btn1"[代码][代码]).show();[代码][代码] [代码][代码]$([代码][代码]"#btn2"[代码][代码]).hide();[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码] [代码]function[代码] [代码]go_result(){[代码][代码] [代码][代码]window.location.href=[代码][代码]'{$pay_result}'[代码][代码];[代码][代码]}[代码][代码]</script>[代码]
2019-08-22