Skip to content

Commit

Permalink
給物流id初值設定,避免只開啟金流時發生錯誤
Browse files Browse the repository at this point in the history
  • Loading branch information
payuni committed Mar 1, 2024
1 parent 2d6f275 commit 088491d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class-payuni.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ private function transformpayuniVersion($order, $version)
private function uppOnePointHandler($order)
{
$prodDesc = [];
$shipping_data_method_id = '';
$items = $order->get_items();
foreach ($items as $item) {
$prodDesc[] = $item->get_name() . ' * ' . $item->get_quantity();
Expand Down

0 comments on commit 088491d

Please sign in to comment.