From 5108f63bdcb9bafbc93d9a6fa501058bbd6c4a53 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 21 Dec 2017 17:03:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=8B=88=EC=8B=9C=EC=8A=A4=20Lpay=20?= =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EA=B2=B0=EC=A0=9C=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/samsungpay/order.script.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mobile/shop/samsungpay/order.script.php b/mobile/shop/samsungpay/order.script.php index a255249cc..c6796d326 100644 --- a/mobile/shop/samsungpay/order.script.php +++ b/mobile/shop/samsungpay/order.script.php @@ -10,7 +10,8 @@ if( ! is_inicis_simple_pay() || ('inicis' == $default['de_pg_service']) ){ // jQuery(function($){ $( document ).ready(function() { var pf = document.forderform; - + + // 이후에 Lpay 가 추가됨 $(pf).on("form_sumbit_order_samsungpay", samsungpay_form_submit); function samsungpay_form_submit(){ @@ -29,7 +30,12 @@ jQuery(function($){ samsungpayform.P_RESERVED.value = p_reserved; paymethod = "wcard"; - samsungpayform.P_RESERVED.value = samsungpayform.P_RESERVED.value.replace("&useescrow=Y", "")+"&d_samsungpay=Y"; + + if( typeof settle_method != "undefined" && settle_method == "lpay" ){ // L.pay 로 결제하는 경우 + samsungpayform.P_RESERVED.value = samsungpayform.P_RESERVED.value.replace("&useescrow=Y", "")+"&d_lpay=Y"; + } else { // 그 외에는 삼성페이로 인식 + samsungpayform.P_RESERVED.value = samsungpayform.P_RESERVED.value.replace("&useescrow=Y", "")+"&d_samsungpay=Y"; + } samsungpayform.P_AMT.value = samsungpayform.good_mny.value; samsungpayform.P_UNAME.value = pf.od_name.value;