taiwan-logistics-skill 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/taiwan-logistics/CLAUDE.md +3 -3
- package/assets/taiwan-logistics/EXAMPLES.md +197 -837
- package/assets/taiwan-logistics/SKILL.md +64 -190
- package/assets/taiwan-logistics/data/field-mappings.csv +14 -14
- package/assets/taiwan-logistics/data/operations.csv +8 -8
- package/assets/taiwan-logistics/data/status-codes.csv +423 -74
- package/assets/taiwan-logistics/examples/ecpay-logistics-cvs-example.py +136 -90
- package/assets/taiwan-logistics/examples/newebpay-logistics-cvs-example.py +52 -37
- package/assets/taiwan-logistics/examples/paynow-logistics-cvs-example.py +197 -217
- package/assets/taiwan-logistics/examples/payuni-logistics-cvs-example.py +237 -505
- package/assets/taiwan-logistics/references/NEWEBPAY_LOGISTICS_REFERENCE.md +3 -0
- package/assets/taiwan-logistics/references/ecpay-logistics-api.md +100 -60
- package/assets/taiwan-logistics/references/paynow-logistics-api.md +17 -12
- package/assets/taiwan-logistics/references/payuni-logistics-api.md +244 -576
- package/assets/taiwan-logistics/scripts/generate-logistics-service.py +2 -2
- package/assets/templates/base/quick-reference.md +5 -5
- package/assets/templates/base/skill-content.md +67 -191
- package/package.json +1 -1
|
@@ -123,11 +123,11 @@ When modifying files:
|
|
|
123
123
|
| Provider | Encryption | Notes |
|
|
124
124
|
|---|---|---|
|
|
125
125
|
| ECPay 綠界 | MD5 CheckMacValue | Sort params + HashKey/HashIV |
|
|
126
|
-
| NewebPay 藍新 | AES-256-CBC + SHA256 |
|
|
127
|
-
| PAYUNi 統一 | AES-256-GCM + SHA256 |
|
|
126
|
+
| NewebPay 藍新 | AES-256-CBC + SHA256 | HashData = SHA256(`HashKey=..&EncryptData&HashIV=..`);送出欄位帶 `_`,回應不帶 |
|
|
127
|
+
| PAYUNi 統一 | AES-256-GCM + SHA256 | EncryptInfo = hex(base64(密文) + `:::` + base64(tag));HashInfo = SHA256(HashKey + EncryptInfo + HashIV) |
|
|
128
128
|
| SmilePay 速買配 | Verify_key + Mid_smilepay 加權檢核碼 | No AES; shared secret |
|
|
129
129
|
| PChomePay 拍錢包 | HTTP Basic Auth → 8h pcpay-token | Same as payment side |
|
|
130
|
-
| PayNow 立吉富 | **3DES (TripleDES) / ECB / Zero-Padding** |
|
|
130
|
+
| PayNow 立吉富 | **3DES (TripleDES) / ECB / Zero-Padding → Base64** | Key = `1234567890` + Password + `123456`(24 bytes);ECB 不使用 IV;PassCode = SHA1;**不同於金流端的動態 AES-256** |
|
|
131
131
|
| HCT 直連 | 自訂加密(金鑰申請後提供) | C# sample code only |
|
|
132
132
|
|
|
133
133
|
## Git Workflow
|