|
|
|
@ -267,7 +267,15 @@ $(function () {
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (resp) {
|
|
|
|
|
window.RPayPlus.send("closeLoading", null, null);
|
|
|
|
|
pay(resp,location.href = '/api/v1.0/rpay/partners/' + window.client_moniker + '/orders/' + pay.order_id + '/result');
|
|
|
|
|
|
|
|
|
|
pay(resp,function(data){
|
|
|
|
|
alert(data);
|
|
|
|
|
if(data == 'success'){
|
|
|
|
|
location.href = '/api/v1.0/rpay/partners/' + window.client_moniker + '/orders/' + pay.order_id + '/result'
|
|
|
|
|
}else {
|
|
|
|
|
alert('Oops,Network fluctuation,please try again later...');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// if (window.AlipayJSBridge) {
|
|
|
|
|
// callPayment();
|
|
|
|
|
// } else {
|
|
|
|
|