Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
모바일 결제 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Feb 11, 2016
1 parent b878e8d commit 24aa7cf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mobile/shop/inicis/pay_approval.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$sql = " select * from {$g5['g5_shop_order_data_table']} where od_id = '$oid' ";
$row = sql_fetch($sql);

$data = unserialize($row['dt_data']);
$data = unserialize(base64_decode($row['dt_data']));

if(isset($data['pp_id']) && $data['pp_id']) {
$order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
Expand Down
2 changes: 1 addition & 1 deletion mobile/shop/inicis/pay_return.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$sql = " select * from {$g5['g5_shop_order_data_table']} where od_id = '$oid' ";
$row = sql_fetch($sql);

$data = unserialize($row['dt_data']);
$data = unserialize(base64_decode($row['dt_data']));

if(isset($data['pp_id']) && $data['pp_id']) {
$order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
Expand Down
2 changes: 1 addition & 1 deletion mobile/shop/kcp/order_approval_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function chk_pay()
$sql = " select * from {$g5['g5_shop_order_data_table']} where od_id = '$ordr_idxx' ";
$row = sql_fetch($sql);

$data = unserialize($row['dt_data']);
$data = unserialize(base64_decode($row['dt_data']));

if(isset($data['pp_id']) && $data['pp_id']) {
$order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
Expand Down
2 changes: 1 addition & 1 deletion mobile/shop/lg/returnurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$sql = " select * from {$g5['g5_shop_order_data_table']} where od_id = '$LGD_OID' ";
$row = sql_fetch($sql);

$data = unserialize($row['dt_data']);
$data = unserialize(base64_decode($row['dt_data']));

if(isset($data['pp_id']) && $data['pp_id']) {
$order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
Expand Down
2 changes: 1 addition & 1 deletion shop/ajax.orderdatasave.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

$_POST['sw_direct'] = get_session('ss_direct');

$dt_data = serialize($_POST);
$dt_data = base64_encode(serialize($_POST));

// 동일한 주문번호가 있는지 체크
$sql = " select count(*) as cnt from {$g5['g5_shop_order_data_table']} where od_id = '$od_id' ";
Expand Down

0 comments on commit 24aa7cf

Please sign in to comment.