나이스페이 결제수단 추가
This commit is contained in:
@ -34,6 +34,9 @@ if ($pp_settle_case == "계좌이체")
|
||||
case 'inicis':
|
||||
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
|
||||
break;
|
||||
case 'nicepay':
|
||||
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
|
||||
break;
|
||||
default:
|
||||
include G5_SHOP_PATH.'/kcp/pp_ax_hub.php';
|
||||
$bank_name = iconv("cp949", "utf-8", $bank_name);
|
||||
@ -56,6 +59,9 @@ else if ($pp_settle_case == "가상계좌")
|
||||
case 'inicis':
|
||||
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
|
||||
break;
|
||||
case 'nicepay':
|
||||
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
|
||||
break;
|
||||
default:
|
||||
include G5_SHOP_PATH.'/kcp/pp_ax_hub.php';
|
||||
$bankname = iconv("cp949", "utf-8", $bankname);
|
||||
@ -78,6 +84,9 @@ else if ($pp_settle_case == "휴대폰")
|
||||
case 'inicis':
|
||||
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
|
||||
break;
|
||||
case 'nicepay':
|
||||
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
|
||||
break;
|
||||
default:
|
||||
include G5_SHOP_PATH.'/kcp/pp_ax_hub.php';
|
||||
break;
|
||||
@ -98,6 +107,9 @@ else if ($pp_settle_case == "신용카드")
|
||||
case 'inicis':
|
||||
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
|
||||
break;
|
||||
case 'nicepay':
|
||||
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
|
||||
break;
|
||||
default:
|
||||
include G5_SHOP_PATH.'/kcp/pp_ax_hub.php';
|
||||
$card_name = iconv("cp949", "utf-8", $card_name);
|
||||
@ -125,6 +137,10 @@ if((int)$pp['pp_price'] !== (int)$pg_price) {
|
||||
case 'inicis':
|
||||
include G5_SHOP_PATH.'/inicis/inipay_cancel.php';
|
||||
break;
|
||||
case 'nicepay':
|
||||
$cancelAmt = (int)$pg_price;
|
||||
include G5_SHOP_PATH.'/nicepay/cancel_process.php';
|
||||
break;
|
||||
default:
|
||||
include G5_SHOP_PATH.'/kcp/pp_ax_hub_cancel.php';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user