kira 6 years ago
parent 4f73be6d88
commit 43ab6507d6

@ -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 {

Loading…
Cancel
Save