> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 【金流收款】LINE Pay 金流 串接與退款

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/6ygp55so5ywo6yoo5pa55qgi_1pb4zbr.png)
🔷 [申請與串接步驟](#1-5aac5l2v55sz6kul)
🔷 [LINE Pay 退刷操作方式](#1-6yca5yi35rwb56il)


# 如何申請

### 步驟一：串接 LINE Pay

1. 向 LINE Pay 申請和開通金流服務帳號： [傳送門](https://pay.line.me/merchant-apply/tw/contact-request?locale=zh-TW&code=G36S2U)

2. 成功申請後，到 EasyStore 後台 → 功能設定 →  金流設定 → 新增收款方式 → 搜尋 LINE Pay

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_ozxom6.png)

3. 若 LINE Pay 有要求需要輸入 IP，請登入 [LINE Pay 帳號後台](https://pay.line.me/portal/tw/auth/login)→ 左側「開發者工具」→ 「管理付款伺服器 IP」→ 輸入以下 IP：

* 52.221.168.222
* 52.221.169.235
* 13.214.85.156
* 3.0.198.164

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_15dc392.png)



4. 請登入 LINE Pay 帳號後台 →  取得Channel ID 和 Channel Secret Key → 回到 EasyStore 後台 →  將兩組參數填入相關欄位
    （1）前往 LINE Pay 後台 →  左側「管理付款連結」→ 「管理連結金鑰」→  複製管理金鑰：Channel ID 和 Channel Secret Key  
    
![](https://storage.crisp.chat/users/helpdesk/website/5ed156556f387400/33ec69a7-eb53-45a0-b2df-70b1fd_1s0hmgi.png)
    
    （2）把 Channel ID 和 Channel Secret Key 貼到 EasyStore 後台 →  LINE Pay 金流裡
    
    ![](https://storage.crisp.chat/users/helpdesk/website/b3b5e1db605b4000/d827e7d3-db0d-4204-aef9-503fcb_bicsul.png)

### 步驟二：設定 LINE Pay 金流

1. 輸入 LINE Pay 金流選項的名稱
    
    ![](https://storage.crisp.chat/users/helpdesk/website/cc24d37afdf63800/2bdc3f50-9139-4e7d-8c0c-79c6b1_1msiq18.png)

2. 選擇啟用 LINE Pay
    
    ![](https://storage.crisp.chat/users/helpdesk/website/22d21092b2538c00/de3c8a78-f190-40ab-938b-8c0877_1fvx424.png)

3. 點擊「新增/刪除金流選項」，目前有 TWD 和 USD 兩種貨幣選擇

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_8ho0i3.png)
    
    ![](https://storage.crisp.chat/users/helpdesk/website/1835fac5535b3600/6cb86328-c09c-4f38-a859-077f2c_intfhw.png)
    
4. 點擊“筆狀”按鈕可以編輯顯示名稱和付款指示，這將會顯示在結帳頁面
    
    ![](https://storage.crisp.chat/users/helpdesk/website/370ca45004dace00/a4d6b833-ae1f-4620-b538-541a84_2z16pr.png)
    
    ![](https://storage.crisp.chat/users/helpdesk/website/3e9ab74fd0c6ca00/5241b95e-456a-4ba3-9b44-22d5f8_1j5bupk.png)

### 步驟三：點擊儲存，完成！
---

# 退刷流程

### 方法一 ：整筆訂單退款

EasyStore 後台可以直接連動金流退款，操作方式請詳閱 [【訂單管理】訂單退款](https://support.easystore.co/zh-tw/article/44cq6kic5zau566h55cg44cr6kic5zau6yca5qy-b1nkfp/)


### 方法二：部分退款

1. 訂單管理 ➡️ 訂單  ➡️ 複製顯示的【付款憑證】
![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1vgf2cx.png)
2. 登入 LINE Pay 管理後台後點選「管理交易 > 交易紀錄」頁面，先設定「交易日期」，並將您從 EasyStore 後台複製的「備註」貼在「交易號碼」欄位，最後點按「搜尋」按鈕。
成功搜尋訂單後， **請直接點按「訂單號碼」**
||| ⚠️ 注意：若為部分退款，請勿點選「全部退款 / 退款」按鈕，因為點選後將全額退款。

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1b0y0fi.png)

3. 點擊後會進入【整體搜尋】頁面，執行部分退款，請點【部分取消】

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1a6ystd.png)
4. 點擊【部分取消】後會出現另一個視窗，請在欄位中輸入要退刷的金額，並點擊【提交】
![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_po48p2.png)

5. 畫面將出現提醒訊息，若確認退刷請點擊【確定】
6. 確定取消後會出現一筆【部分取消】的紀錄，表示已經完成部分退刷
7. 部分金額退刷後，需回到後台手動記錄此訂單為已退款，該筆訂單中的商品才會回到庫存中。 操作方式請詳閱.  [【訂單管理】訂單退款](https://support.easystore.co/zh-tw/article/44cq6kic5zau566h55cg44cr6kic5zau6yca5qy-b1nkfp/) 的『手動退款』





![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_18pztnj.png)
圖片來源：LINE商店操作手冊





