| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511 |
- [2022-03-23 18:46:28] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=商户不存在!) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/375/Ju","out_trade_no":"CJ202203231846257368","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"2.0","sign":"049D7A1BC36AE2A3209178BEB3767E9D","format":""} []
- [2022-03-23 18:49:23] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=没有可用的商户) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/376/Ju","out_trade_no":"CJ202203231849219056","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"E51BE3A805BC8CFB55051EE0CA1F14ED","format":""} []
- [2022-03-23 18:54:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=没有可用的商户) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/377/Ju","out_trade_no":"CJ202203231854097784","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"24502114CA1DE2E858CD8206F9BB566D","format":""} []
- [2022-03-23 18:55:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323329132041014</div>
- <div class="price">¥ 49.87</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 298; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329132041014'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329132041014');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "-CWtgvj7mB3nhrUzV62wgBzji";
- var order_no = "F323329132041014";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/378/Ju","out_trade_no":"CJ202203231855107490","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"93A83690FB0D0EDECFCCF04BF3C8D662","format":""} []
- [2022-03-23 18:56:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323329739912099</div>
- <div class="price">¥ 49.85</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 298; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329739912099'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329739912099');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "FPOHv0qDYHLXdM-fu0a3fHI6p";
- var order_no = "F323329739912099";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/379/Ju","out_trade_no":"CJ202203231856126385","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"B58D18BCC0EBFE2EC3169F689E19B1BA","format":""} []
- [2022-03-23 18:56:45] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323330038447120</div>
- <div class="price">¥ 49.97</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 298; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330038447120'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330038447120');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "ZQ0GtW8VtLU6uYMZuME-tWJI5";
- var order_no = "F323330038447120";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/380/Ju","out_trade_no":"CJ202203231856413287","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"EDA39DDDC310EFC19A1B0C0F06EDFCBA","format":""} []
- [2022-03-23 18:57:00] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323330191424380</div>
- <div class="price">¥ 49.93</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 299; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330191424380'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330191424380');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "2%3DP7YkhnO0txQoB8hzb6Tnops";
- var order_no = "F323330191424380";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/381/Ju","out_trade_no":"CJ202203231856564100","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"FA7F4E2F57B2C7160C7595187DA086D2","format":""} []
- [2022-03-23 18:58:39] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/382/Ju","out_trade_no":"CJ202203231858366067","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"7D7FEA4762E72F6B1DF3910A503A240B","format":"json"} []
- [2022-03-23 19:02:05] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/383/Ju","out_trade_no":"CJ202203231902027480","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"2786F7E7CD2A5BAA6CC1BF22F2AAE2F2","format":"json"} []
- [2022-03-23 19:07:58] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/384/Ju","out_trade_no":"CJ202203231907579985","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"FBFDEE8B07C98D370927AFC912DFCCA8","format":"json"} []
- [2022-03-23 19:24:44] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/385/Ju","out_trade_no":"CJ202203231924424993","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"00BC8D2397A07FBC679B0D3ACAE7A1A4","format":"json"} []
- [2022-03-23 19:42:44] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/386/Ju","out_trade_no":"CJ202203231942423530","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"C32414A408E67742E28EF51BCD3182B4","format":"json"} []
- [2022-03-23 19:55:20] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/387/Ju","out_trade_no":"CJ202203231955181307","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"C8C5EE541E3094CEF89E9D55462E76A1","format":"json"} []
- [2022-03-23 19:57:33] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323366509549971</div>
- <div class="price">¥ 49.98</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 297; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366509549971'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366509549971');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "OCqA185OpRobkMEboRDq5%3DUEG";
- var order_no = "F323366509549971";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/388/Ju","out_trade_no":"CJ202203231957288089","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"84A5B283330340A931B59DF4BD91D356"} []
- [2022-03-23 19:57:50] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>支付宝付款</title>
- <style>
- body {
- margin: 0;
- font-size: 14px
- }
- .header {
- border-bottom: 1px solid #ddd;
- height: 30px;
- text-align: center;
- padding: 10px 0
- }
- .header img {
- height: 100%
- }
- .main {
- text-align: center;
- padding: 20px 10px
- }
- .price {
- color: #d63939;
- font-weight: bold;
- font-size: 32px
- }
- .qrcode-container {
- width: 100%;
- height: 300px;
- text-align: center;
- box-sizing: border-box;
- padding: 20px
- }
- .qrcode-container img {
- width: auto;
- height: 100%;
- margin: 0 auto
- }
- .button {
- background-color: #00a3ea;
- color: #fff;
- padding: 10px;
- border-radius: 6px;
- font-size: 16px
- }
- .timer-container {
- margin-top: 10px;
- font-size: 16px
- }
- #timer {
- color: #d63939;
- font-size: 18px;
- padding: 0 5px;
- font-weight: bold
- }
- .tip {
- display: none;
- margin-top: 10px;
- font-size: 16px
- }
- .dialog {
- display: none;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.3)
- }
- .dialog-content {
- width: 80%;
- background-color: #fff;
- position: absolute;
- left: 10%;
- top: 45%;
- top: calc(50% - 31px);
- padding: 20px;
- text-align: center;
- box-sizing: border-box;
- font-size: 16px;
- border-radius: 8px
- }
- </style>
- <script type="text/javascript" src="/public/js/jquery.min.js"></script>
- <style type="text/css">
- @font-face {
- font-family: "element-icons";
- src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
- url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
- /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- }
- </style>
- </head>
- <body>
- <div>
- <div class="header">
- <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
- </div>
- <div class="main">
- <div class="order-id">订单号:F323366685011370</div>
- <div class="price">¥ 49.85</div>
- <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
- <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
- <div class="qrcode-container" id="qrcode" title=""></div>
- <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
- <div class="button" id="ali_btn" onclick="openalipay()">
- 打开支付宝付款</div>
- <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
- <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
- </div>
- <div class="dialog" id="dialog" onclick="closeDialog()">
- <div class="dialog-content">
- 订单已超时,请重新发起支付
- </div>
- </div>
- <div class="dialog" id="dialog2" onclick="closeDialog()">
- <div class="dialog-content">
- 订单支付成功
- </div>
- </div>
- </div>
- <script src="/public/js/jquery.qrcode.min.js"></script>
- <script>
- var timerView = document.getElementById('timer');
- var dom_tip = document.getElementById('tip');
- var dom_timer_container = document.getElementById('timer-container');
- var limit = 298; // 设置时间
- var returnurl = '';
- var timer = setInterval(setTime, 1000);
- var queryTimer = setInterval(getnewstatus, 2000);
- function setTime() {
- var m = Math.floor(limit / 60);
- var s = limit % 60;
- timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
- if (limit > 0) {
- limit--
- } else {
- clearInterval(timer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- document.getElementById('dialog').style.display = 'block'
- }
- }
- function closeDialog() {
- // 允许关闭
- //document.getElementById('dialog').style.display = 'none'
- }
- setTime();
- var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366685011370'));
- $('#qrcode').qrcode({
- text: qrcode_get_url,
- width: 240,
- height: 240
- });
- function openalipay() {
- window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366685011370');
- }
- function getnewstatus() {
- var orderNo = $("#orderNo").val();
- var key = "D3fGuwXCdyZ-0HPkVC6xty857";
- var order_no = "F323366685011370";
- $.ajax({
- type: "GET",
- dataType: "json",
- url: "/pay/api.php?c=orderQuery",
- data: {"key": key},
- cache: false,
- success: function (data) {
- if (data.code == '200') {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- document.getElementById('dialog2').style.display = 'block'
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- //订单超时或者有误
- else {
- clearInterval(timer);
- clearInterval(queryTimer);
- dom_timer_container.style.display = 'none';
- dom_tip.style.display = 'block';
- setTimeout(function () {
- window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
- }, 3000);
- }
- }//,
- //error: function (data) {
- // alert("error:" + data.responseText);
- //}
- });
- }
-
- function isMobile() {
- var userAgentInfo = navigator.userAgent;
- var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
- var mobile_flag = false;
- //根据userAgent判断是否是手机
- for (var v = 0; v < mobileAgents.length; v++) {
- if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
- mobile_flag = true;
- break;
- }
- }
- var screen_width = window.screen.width;
- var screen_height = window.screen.height;
- //根据屏幕分辨率判断是否是手机
- if (screen_width < 500 && screen_height < 800) {
- mobile_flag = true;
- }
- return mobile_flag;
- }
- </script>
- </body>
- </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/389/Ju","out_trade_no":"CJ202203231957464604","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"8539489F098E65AE656A38D52CF80004"} []
- [2022-03-23 20:47:01] pay.INFO: 支付通道(App\Repositories\Service\Payment\XindaPayment), 错误信息:(回调订单状态失败) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:47:03] pay.INFO: 支付通道(App\Repositories\Service\Payment\XindaPayment), 错误信息:(回调订单状态失败) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:49:08] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:49:16] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:49:19] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:49:39] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:50:01] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:50:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:50:17] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:51:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:53:11] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单状态异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:54:28] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:57:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
- [2022-03-23 20:57:45] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
|