check JunctionPay

This commit is contained in:
phyusin
2018-06-11 17:20:47 +06:30
parent 425e72afe7
commit e2fdf994d7
4 changed files with 76 additions and 23 deletions

View File

@@ -359,7 +359,12 @@ function show_order_detail(url,sr_no){
$('#address').text(address);
$(".order_payment_type").show();
$("#payment_type").text(data.payment_type);
if(data.payment_type == "cash_on_delivery"){
$("#payment_type").text("COD");
}else if(data.payment_type == "dinga"){
$("#payment_type").text("DINGA");
}
$('#ref_no').text(data.transaction_ref);
$('#callback_url').text(data.callback_url);
$('#order_id').text(data.order_reservation_id);