포인트사용때 결제 취소 재시도시 포인트 중복 차감되는 오류 수정

This commit is contained in:
chicpro
2013-08-28 14:11:54 +09:00
parent ef9d841083
commit 43c478f138
2 changed files with 10 additions and 2 deletions

View File

@ -1138,7 +1138,11 @@ function kcp_approval()
// pg 결제 금액에서 포인트 금액 차감
if(settle_method != "무통장" && temp_point > 0) {
f.good_mny.value = parseInt(f.good_mny.value) - temp_point;
var od_amount = parseInt(pf.od_amount.value);
var send_cost = parseInt(pf.od_send_cost.value);
var send_cost2 = parseInt(pf.od_send_cost2.value);
var send_coupon = parseInt(pf.od_send_coupon.value);
f.good_mny.value = od_amount + send_cost + send_cost2 - send_coupon - temp_point;
}
f.buyr_name.value = pf.od_name.value;

View File

@ -1449,7 +1449,11 @@ function forderform_check(f)
// pg 결제 금액에서 포인트 금액 차감
if(settle_method != "무통장" && temp_point > 0) {
f.good_mny.value = parseInt(f.good_mny.value) - temp_point;
var od_amount = parseInt(f.od_amount.value);
var send_cost = parseInt(f.od_send_cost.value);
var send_cost2 = parseInt(f.od_send_cost2.value);
var send_coupon = parseInt(f.od_send_coupon.value);
f.good_mny.value = od_amount + send_cost + send_cost2 - send_coupon - temp_point;
}
}
}