|
|
|
@ -49,7 +49,7 @@ $(document).ready(function () {
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (pay) {
|
|
|
|
|
if (pay.direct_paid) {
|
|
|
|
|
location.href = window.redirect + (window.redirect.indexOf('?') < 0 ? '?' : '&') + 'success=true';
|
|
|
|
|
startCheckOrder(window.client_moniker, window.merchant_orderid);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (window.AlipayJSBridge) {
|
|
|
|
@ -114,7 +114,7 @@ $(document).ready(function () {
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (res) {
|
|
|
|
|
if (res.paid) {
|
|
|
|
|
location.href = window.redirect + (window.redirect.indexOf('?') < 0 ? '?' : '&') + 'success=true';
|
|
|
|
|
location.href = window.redirect + (window.redirect.indexOf('?') < 0 ? '?' : '&') + 'success=true&time=' + res.time + '&nonce_str=' + res.nonce_str + '&sign=' + res.sign;
|
|
|
|
|
} else {
|
|
|
|
|
setTimeout(checkOrderStd, 500);
|
|
|
|
|
}
|
|
|
|
|