Skip to content
API Design
Command

/ecpay-debug

除錯綠界 API 串接問題 + CheckMacValue/AES 加密驗證

From plugin
ecpay-api-skill
2386 skills6 commands
$ npx -y skills add ecpay/ecpay-api-skill --agent claude-code

Command definition

ecpay-debug.md
description: 除錯綠界 API 串接問題 + CheckMacValue/AES 加密驗證

> **你需要這個指令嗎?** > - 目標:排查 CheckMacValue 計算失敗 → ✅ 是 > - 目標:排查 AES 加解密錯誤 / TransCode ≠ 1 → ✅ 是 > - 目標:排查 Callback 收不到 / 解析失敗 → ✅ 是 > - 目標:建立新的付款串接 → ❌ 改用 `/ecpay-pay`

使用者遇到綠界串接問題或需要加密實作協助。請依以下步驟排查:

1. 先讀取 `SKILL.md` 的除錯決策樹,定位問題類型 2. 根據問題類型讀取對應資源:

  • CheckMacValue 驗證失敗 → `guides/13-checkmacvalue.md` + `guides/15-troubleshooting.md` §1
  • AES 解密亂碼 → `guides/14-aes-encryption.md` §常見錯誤 + 測試向量
  • 錯誤碼查詢 → `guides/20-error-codes-reference.md` 反向索引
  • Callback 收不到 → `guides/21-webhook-events-reference.md` + `guides/15-troubleshooting.md` §2
  • 上線後異常 → `guides/16-go-live-checklist.md` §上線後觀察清單

3. 若需要全新的 CheckMacValue 實作:讀 `guides/13`(12 語言 + 測試向量),用測試向量驗證正確性 4. 若需要確認最新錯誤碼定義,從 `references/` 對應檔案 web_fetch

---

排查後下一步

  • 排查完成,繼續功能開發 → `/ecpay-pay` 或對應服務指令
  • 上線前最終確認 → `/ecpay-go-live`
  • 問題仍無法解決 → 聯繫綠界客服 techsupport@ecpay.com.tw 或 (02) 2655-1775
@ecpay
Ships withecpay-api-skill

綠界科技官方出品 — 由 ECPay 團隊開發與維護,內容與 API 同步更新。 當前版本:V3.4

Stars on GitHub

Momentum

stars in total
238
Star history of ecpay/ecpay-api-skill on GitHub, a chart by star-history.com

Other commands on ecpay-api-skill.

ecpay-pay

ecpay-pay

Command

串接綠界金流收款(AIO / 站內付 2.0 / 幕後授權)、查詢訂單、退款、Callback 處理

@ecpay@ecpayInstall Command

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n3d211k
@n8n-io@n8n-ioInstall Command