update alipay+ retailpay res

master
yixian 4 years ago
parent b161ccd318
commit 6bfd69ce06

@ -4,6 +4,7 @@
$(document).ready(function () {
'use strict';
decode();
function decode() {
var redirect = window.redirect;
while (redirect.indexOf('://') < 0) {
@ -14,8 +15,10 @@ $(document).ready(function () {
window.redirect = redirect;
}
}
var dataCache = {paying: false};
$('#key_P').bind('touchstart', startPay);
function startPay() {
$('#wdiv').show();
if (dataCache.paying) {
@ -32,6 +35,9 @@ $(document).ready(function () {
location.href = window.redirect;
return;
}
if (window.client_moniker == 'PINE') {
alert(JSON.stringify(pay))
}
if (pay.web_from) {
$('#alipay_plus').html(pay.web_from)
startCheckOrder(window.order_id, window.redirect);

Loading…
Cancel
Save