Skip to content

Commit

Permalink
更新黑貓物流帶入地址到統一金流支付頁
Browse files Browse the repository at this point in the history
  • Loading branch information
payuni committed Feb 20, 2024
1 parent 4506768 commit 2d6f275
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions class-payuni.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,14 @@ private function uppOnePointHandler($order)
case 'PAYUNi_Logistic_Tcat':
case 'PAYUNi_Logistic_Tcat_Freeze':
case 'PAYUNi_Logistic_Tcat_Cold':
$encryptInfo['ShipTag'] = 1;
$encryptInfo['ShipType'] = 2;
$encryptInfo['LgsType'] = 'HOME';
$encryptInfo['GoodsType'] = $this->shippingGoodsType[$shipping_data_method_id];
$encryptInfo['Consignee'] = $order->get_shipping_last_name() . $order->get_shipping_first_name();
$encryptInfo['ConsigneeMobile'] = $order->get_billing_phone();
// $encryptInfo['ConsigneeAddress'] = $order->get_shipping_state() . $order->get_shipping_city() . $order->get_shipping_address_1() . $order->get_shipping_address_2();
$encryptInfo['ShipTag'] = 1;
$encryptInfo['ShipType'] = 2;
$encryptInfo['LgsType'] = 'HOME';
$encryptInfo['GoodsType'] = $this->shippingGoodsType[$shipping_data_method_id];
$encryptInfo['Consignee'] = $order->get_shipping_last_name() . $order->get_shipping_first_name();
$encryptInfo['ConsigneeMobile'] = $order->get_billing_phone();
$encryptInfo['ConsigneeAddress'] = $order->get_shipping_state() . $order->get_shipping_city() . $order->get_shipping_address_1() . $order->get_shipping_address_2();
$encryptInfo['ConsigneeAddressFix'] = 1;
break;
default:
break;
Expand Down

0 comments on commit 2d6f275

Please sign in to comment.