en un clic
payuni
// Provides PAYUNi integration overview and guides users to the appropriate skill. Use when starting PAYUNi integration, setting up environment, or needing general guidance about 統一金流.
// Provides PAYUNi integration overview and guides users to the appropriate skill. Use when starting PAYUNi integration, setting up environment, or needing general guidance about 統一金流.
Implements KryptoGO Payment checkout integration including Payment Intent creation, React SDK usePayment hook, and Direct API integration. Use when integrating crypto payment, creating checkout flows, or building KryptoGO 穩定幣收款頁面.
Implements KryptoGO Payment query functionality for checking payment intent status and listing payment intents. Use when building order status checking, transaction verification, or payment confirmation features for KryptoGO 穩定幣支付.
Provides KryptoGO Payment integration overview and guides users to the appropriate skill. Use when starting KryptoGO crypto payment integration, setting up environment, or needing general guidance about KryptoGO 穩定幣支付.
Implements KryptoGO Payment token transfer/withdrawal functionality using the Asset Pro Transfer API. Use when building withdrawal features, sending tokens to users, or implementing 穩定幣提領轉帳 for KryptoGO Payment.
Implements KryptoGO Payment webhook/callback handling for receiving payment status notifications. Use when building webhook endpoints, handling payment callbacks, or implementing 支付狀態通知 for KryptoGO Payment.
Implements PAYUNi UPP checkout integration including AES256 encryption, form submission, and payment callback handling. Use when integrating payment gateway, creating checkout flows, or building 統一金流 payment pages.
| name | payuni |
| description | Provides PAYUNi integration overview and guides users to the appropriate skill. Use when starting PAYUNi integration, setting up environment, or needing general guidance about 統一金流. |
| argument-hint | [功能: checkout/query/webhook] |
| user-invocable | true |
你的任務是幫助用戶設定統一金流(PAYUNi)環境並引導至適當的串接功能。
用戶輸入: $ARGUMENTS
根據用戶需求,判斷下一步:
/payuni-checkout/payuni-query/payuni-webhook詢問用戶以下問題:
專案框架:你使用什麼框架?
環境狀態:是否已有統一金流商店帳號?
引導用戶建立環境變數:
PAYUNI_MERCHANT_ID=你的商店代號
PAYUNI_HASH_KEY=你的HashKey
PAYUNI_HASH_IV=你的HashIV
PAYUNI_TEST_MODE=true # test 模式,正式環境設為 false
指導用戶:
.env 檔案.env 已加入 .gitignore完成環境設定後,根據用戶需求引導:
| 需求 | Skill | 說明 |
|---|---|---|
| 建立支付頁面 | /payuni-checkout | UPP 幕前支付串接 |
| 查詢交易狀態 | /payuni-query | 交易查詢 API |
| 處理 Webhook | /payuni-webhook | 接收付款通知 |
| 環境 | API Base URL |
|---|---|
| 測試 | https://sandbox-api.payuni.com.tw |
| 正式 | https://api.payuni.com.tw |
| 特性 | PAYUNi | 藍新 | 綠界 |
|---|---|---|---|
| 加密方式 | AES-256-CBC | AES-256-CBC | AES-128-CBC |
| 簽章方式 | SHA256 (HashInfo) | SHA256 (TradeSha) | SHA256 (CheckMacValue) |
| API 版本 | 統一版本 | Version 參數 | Version 參數 |