Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计提醒

tw-payment-integrationTW 支付整合

Agent Skill

tw-payment-integration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

125

下载量

119
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tw-payment-integration(TW 支付整合)
来源仓库:https://github.com/asgard-ai-platform/skills
仓库路径:skills/tw-payment-integration
安装命令:
npx skills add https://github.com/asgard-ai-platform/skills --skill tw-payment-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/asgard-ai-platform/skills --skill tw-payment-integration

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要自动化处理代码协作流程的开发场景。
  • 支持主流 AI 编程工具集成使用。

SKILL.md

Taiwan Payment Integration

Framework

IRON LAW: Support At Least 3 Payment Methods in Taiwan

Taiwan consumers expect choice. Credit card alone misses ~40% of potential
buyers. The minimum viable payment mix for Taiwan e-commerce:
1. Credit card (信用卡)
2. ATM/bank transfer (ATM 虛擬帳號)
3. Convenience store payment (超商代碼/超商取貨付款)

Adding LINE Pay and Apple Pay captures another 10-15%.

Taiwan Payment Landscape

MethodMarket ShareUser ProfileSettlement Time
Credit/Debit card~45%All ages, higher spendingT+1 to T+7
ATM virtual account~15%Price-sensitive, no credit cardInstant to T+1
Convenience store (超商代碼)~10%Students, cash-preferredT+1 to T+3
LINE Pay~12%LINE users (95% of Taiwan)T+1 to T+7
Apple Pay / Google Pay~5%Mobile-first usersT+1 to T+7
超商取貨付款 (COD at store)~8%Low trust, want to see productUpon pickup + T+3
JKoPay / 街口~3%Younger demographicT+1

Payment Service Providers (PSP)

PSPStrengthsPricingBest For
綠界 (ECPay)Most comprehensive (credit card, ATM, CVS, 超取), largest market share2.75% credit card, NT$15/ATM txnGeneral e-commerce, startups
藍新 (NewebPay)Good API design, modern dashboard2.5-2.8% credit cardSaaS, subscription businesses
TapPayMobile-first, Apple Pay/Google Pay/LINE Pay integration2.5-2.8% credit cardMobile apps, in-app purchases
PayNowEasy setup, no monthly fee2.75% credit cardLow-volume, new businesses
StripeInternational, excellent API3.4% + NT$10 per txnCross-border, international focus

Integration Flow (Standard)

1. Customer clicks "Pay" on your site
2. Your server creates an order → sends to PSP API
3. PSP returns a payment page URL (or token for inline)
4. Customer completes payment on PSP-hosted page
5. PSP sends callback (webhook) to your server with result
6. Your server verifies the callback signature
7. Update order status → show confirmation to customer

Key API Concepts

ConceptWhat It Is
MerchantIDYour account identifier with the PSP
HashKey / HashIVSecret keys for signature verification
TradeNoYour order ID (must be unique per transaction)
PaymentTypeCredit, ATM, CVS, WebATM, etc.
Callback URLWebhook endpoint PSP calls after payment
Return URLPage to redirect customer after payment
CheckMacValueHMAC signature to verify data integrity

Refund Handling

MethodRefund CapabilityTiming
Credit cardFull or partial refund via API1-7 business days
ATMCannot auto-refund — must wire transfer backManual, 3-7 days
CVS paymentCannot auto-refund — must wire transfer backManual, 3-7 days
LINE PayFull refund via API1-3 business days

Security Requirements

RequirementWhat to Do
SSL/TLSAll payment pages must be HTTPS
3D SecureEnable 3DS 2.0 for credit card fraud reduction
PCI DSSIf handling raw card data, need PCI compliance. Using PSP-hosted payment page avoids this.
TokenizationStore payment tokens, never raw card numbers
Webhook verificationAlways verify CheckMacValue signature before processing callbacks
IdempotencyHandle duplicate callbacks gracefully (PSP may retry)

Output Format

# Payment Integration Plan: {Business}

## Payment Method Selection
| Method | Include? | PSP | Rationale |
|--------|---------|-----|-----------|
| Credit card | Y/N | {provider} | {why} |
| ATM | Y/N | ... | ... |
| CVS | Y/N | ... | ... |
| LINE Pay | Y/N | ... | ... |

## PSP Selection
- Provider: {name}
- Pricing: {rate}
- Rationale: {why this provider}

## Integration Plan
| Phase | Task | Timeline |
|-------|------|----------|
| 1 | Apply for PSP merchant account | 1-2 weeks |
| 2 | Develop payment flow (sandbox) | 1-2 weeks |
| 3 | Implement webhook handler | 1 week |
| 4 | Security review (SSL, signature verification) | 2-3 days |
| 5 | Production testing with real transactions | 1 week |
| 6 | Go-live | 1 day |

## Refund Process
{How each payment method handles refunds}

Gotchas

  • PSP application takes time: Merchant account approval can take 1-3 weeks. Apply early. Credit card processing requires additional documentation (company registration, bank account proof).
  • ATM and CVS refunds are manual: Unlike credit cards, ATM and convenience store payments cannot be auto-refunded. You need the customer's bank account to wire money back. Build this into your CS process.
  • Webhook reliability: PSP callbacks can be delayed or duplicated. Build idempotent handlers and implement a reconciliation job that checks PSP records against your database daily.
  • Foreign credit cards: Not all Taiwan PSPs support foreign credit cards well. If you have international customers, test with non-Taiwan cards or use Stripe.
  • Recurring payments (subscription): 綠界 and 藍新 support recurring billing, but you need the customer's explicit consent and must handle card expiration/update flows.

References

  • For 綠界 API integration guide, see references/ecpay-api.md
  • For PCI DSS compliance checklist, see references/pci-checklist.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.86%
按下载量换算45

Claude

28.57%
按下载量换算34

Cursor

18.11%
按下载量换算22

Gemini CLI

9.43%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills