|
|
|
@ -24,7 +24,7 @@ $(document).ready(function () {
|
|
|
|
|
dataCache.paying = true;
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/api/v1.0/alipay/partners/' + window.client_moniker + '/orders/'+window.order_id+'/order_params',
|
|
|
|
|
url: './order_params',
|
|
|
|
|
method: 'GET',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (pay) {
|
|
|
|
@ -32,6 +32,11 @@ $(document).ready(function () {
|
|
|
|
|
location.href = window.redirect;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (pay.web_from) {
|
|
|
|
|
$('#alipay_plus').html(pay.web_from)
|
|
|
|
|
startCheckOrder(window.order_id, window.redirect);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (window.AlipayJSBridge) {
|
|
|
|
|
callPayment();
|
|
|
|
|
} else {
|
|
|
|
|