humanerd-drew/opencode-drewgent/korean-payment-integration
Claude Code and agent skill by humanerd-drew/opencode-drewgent
- community
Checking that the SKILL.md file is still in the repository.
PortOne V2 SDK + D1 payment database integration for Korean PG (KG이니시스/카카오페이/토스페이먼츠) in a Cloudflare Workers SPA. Covers: SDK setup, per-entity fingerprint purchase tracking, D1 schema, mobile redirect, and multi-channel config.
Install
npx vskill@latest install humanerd-drew/opencode-drewgent/korean-payment-integrationSKILL.md
The same SKILL.md was published earlier as humanerd-drew/opencode-drewgent/korean-payment-integration.
Korean Payment Gateway Integration (PortOne V2 + D1)
When to Use
Integrating PortOne (포트원) V2 SDK with KG이니시스, 카카오페이, or other Korean PGs into a Cloudflare Workers SPA.
Architecture
PortOne V2 SDK Setup
CDN Script (in index.html)
Configuration
requestPayment Parameters
PayMethod Mapping
| Method | payMethod | easyPayProvider | |
|---|---|---|---|
| 네이버페이 | EASY_PAY | NAVERPAY | |
| 카카오페이 | EASY_PAY | KAKAOPAY | |
| 신용카드 | CARD | (none) |
Per-Entity Purchase Tracking
For apps where purchase is tied to a specific entity (record, chart, document, etc.), NOT to the user account. Each unique entity requires its own purchase.
D1 Database
Migration
Deployment Checklist
- Set
wrangler secret put PORTONE_API_SECRET - Apply remote migrations:
wrangler d1 migrations apply YOUR_DB --remote - Deploy:
npm run deploy
Pitfalls
- KG이니시스 requires
phoneNumberin customer field - Mobile
redirectUrlis mandatory - Use a different
channelKeyper payment method — never reuse one key for all methods localStoragepurchase cache is a fast path; always verify server-side for production- Keep
PORTONE_API_SECRETserver-side only
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/korean-payment-integration/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/humanerd-drew/opencode-drewgent/korean-payment-integration)