Skills Plugins MCP Prompt Model 博客 我的中心

malaysia-payment-gateway

Build, debug, review, and explain Malaysia payment gateway integrations. Use when implementing checkout, payment links, hosted payment pages, redirects, callbacks, webhooks, HMAC/signature verification, idempotent settlement, paid-access unlocking, refunds, reconciliation, sandbox/live setup, or provider switching for Malaysian gateways such as CHIP Collect, Curlec/Razorpay, Xendit Malaysia, Bayarcash, BCL Pay, toyyibPay, Billplz, FPX, DuitNow QR, cards, or e-wallets.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=afu-it-malaysia-payment-gateway-malaysia-payment-gateway-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name malaysia-payment-gateway description Build, debug, review, and explain Malaysia payment gateway integrations. Use when implementing checkout, payment links, hosted payment pages, redirects, callbacks, webhooks, HMAC/signature verification, idempotent settlement, paid-access unlocking, refunds, reconciliation, sandbox/live setup, or provider switching for Malaysian gateways such as CHIP Collect, Curlec/Razorpay, Xendit Malaysia, Bayarcash, BCL Pay, toyyibPay, Billplz, FPX, DuitNow QR, cards, or e-wallets. Malaysia Payment Gateway Use this skill to add production-grade payment collection to an app, not only to make a checkout button. Treat payment as a state machine: local intent first, gateway session second, verified server-side settlement last. Quick Start Identify provider, product, currency, amount unit, and environment. Read references/integration-checklist.md . If provider-specific guidance is needed, read references/provider-patterns.md . Before marking complete, check references/security-settlement.md . Implementation Workflow 1. Map Existing App Find: Auth/session helper. Database access layer. Existing order, invoice, subscription, entitlement, or payment tables. Server route pattern. Environment/secret handling. Test style and deployment target. Do not start with provider API calls before local payment records and settlement rules are clear. 2. Create Local Payment Intent Create or reuse a payments table with at least: id user_id or customer id product or order id amount_original discount_amount amount_paid currency provider status gateway_ref gateway_status gateway_payload created_at updated_at paid_at Use pending before calling the gateway. Store gateway id after session/order/purchase creation. Add a unique index on (provider, gateway_ref) where gateway_ref is not null. 3. Create Checkout Server-Side Create gateway checkout from a server route. Never expose secret keys. Return only: Hosted checkout URL, or Public key plus gateway order/session id required by browser SDK. 4. Verify Callback/Webhook Browser redirect is user experience only. Webhook/callback verification must happen server-side with raw body when required. After verification, fetch current gateway object from provider API when possible. Settle from fetched server-side state, not from client-sent success data alone. 5. Settle Idempotently Before marking paid, verify: Local payment exists. Provider matches. Gateway reference matches. Status is final paid/captured/succeeded. Amount matches expected amount. Currency is expected, usually MYR . Product/order belongs to local user. Payment is still pending or already paid . Then update status to paid , set paid_at , unlock entitlement/order fulfillment, and create referral/reward side effects once. Provider Choice Use project needs to choose: CHIP Collect: Malaysian checkout, FPX/DuitNow/cards/e-wallets, purchase/webhook flow. Curlec/Razorpay: Orders API plus Checkout.js, FPX/redirect methods, Razorpay-style signatures. Xendit Malaysia: Hosted payment sessions or payment requests, FPX and e-wallet channels. Bayarcash/BCL/toyyibPay/Billplz: Malaysian payment portals/API flows; verify exact docs/live dashboard before schemas. If latest provider API details, channel availability, fees, dashboard paths, or webhook event names matter, check official current docs before coding. Completion Criteria Payment integration is done only when: Checkout can be created from authenticated user flow. Failed/missing config returns clear server error. Webhook/callback rejects invalid signature. Duplicate webhook is harmless. Wrong amount/currency/provider cannot mark paid. Successful sandbox payment marks local payment paid. Fulfillment/access unlock happens from verified server state. Tests cover helpers and settlement edge cases. Deployment docs mention required secrets, webhook URLs, and migrations.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。