collect-payment

collect-payment is a skill for Claude Code from theYahia/WWmcp. It costs 19 tokens per session (454 once invoked), scanned A, original, MIT.

A Chapa checkout tool for collecting payments in Ethiopia. Chapa is a payment service that creates a hosted checkout page and reports whether the transaction succeeded.

In plain words
What is it for?
It helps create a checkout link, send it to a customer, and verify the amount, fee, payment method, and final status in Ethiopian birr or another supported currency.
Why use it?
It avoids building a payment form and helps prevent false payment confirmations by checking the transaction after the customer finishes checkout.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps create a checkout link, send it to a customer, and verify the amount, fee, payment method, and final status in Ethiopian birr or another supported currency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/collect-payment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add theYahia/WWmcp --skill collect-payment
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for collect-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/theyahia/wwmcp/collect-payment/github.svg)](https://agentmods.dev/skills/theyahia/wwmcp/collect-payment)
Your own site
<a href="https://agentmods.dev/skills/theyahia/wwmcp/collect-payment"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/collect-payment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for collect-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/collect-payment"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/collect-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00454
Opus 5.5 $0.00008 $0.00182
Sonnet 5.5 $0.00004 $0.00091
Haiku 4.5 $0.00002 $0.00045

Measured 2mo ago against content hash 5d4e20c5421b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

collect-payment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

servers/chapa/.claude/skills/collect-payment/SKILL.md · 51 lines

What it actually says

/collect-payment — Chapa checkout

Algorithm

  1. Collect amount (a string, e.g. "250"), email, first_name, last_name. Optional: phone_number, currency (defaults to ETB), callback_url, return_url, customization_title, customization_description.
  2. Generate tx_ref yourself if the user did not give one — it must be unique per attempt (e.g. order number plus timestamp). Reusing a tx_ref makes Chapa reject the request.
  3. Call initialize_transaction with those fields. It returns a checkout_url.
  4. Send the customer to the checkout_url. Wait for them to finish — do not verify early, a fresh transaction reads as pending.
  5. Call verify_transaction with the same tx_ref. Read status, amount, charge (Chapa's fee), payment method and customer info from the response.
  6. If status is pending after the customer says they paid, retry verify_transaction once after a short wait before treating it as failed.

Response format

## Chapa payment

**tx_ref**: ORDER-2026-0142-1725350400
**Amount**: 250 ETB
**Charge (fee)**: 8.75 ETB
**Status**: success
**Method**: telebirr
**Customer**: Abebe Kebede / [email protected]

Checkout link: https://checkout.chapa.co/checkout/payment/...

Notes

  • amount is a string in this API. Pass "250", not 250.
  • Chapa supports ETB and USD; anything else will be rejected.
  • Never generate a tx_ref that collides with a previous one — verification keys off it.

Examples

/collect-payment 250 [email protected] Abebe Kebede
/collect-payment 1200 [email protected] Sara Tesfaye ORDER-991
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 51 lines · 19 tokens per session scan A 5d4e20c5421b

Subscribe to this mod's changes

collect-payment is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 454 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

collect-payment compared with skills from other repositories

collect-payment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
collect-paymenttheYahia/WWmcpSkill422mo agoMITA19Claude Code
okx-cex-portfoliookx/agent-trade-kitSkill5245d agoMITA236Claude Code, Codex
pdf-invoice-extractorSwih/mistral-mcpSkill152mo agoMITA39Claude Code
typescript-linter-setupProjAnvil/MindForgeSkill39d agoMITA46Claude Code, Codex
french-invoice-reminderSwih/mistral-mcpSkill152mo agoMITA42Claude Code
invompt-local-beta-invoiceInvompt/invompt-mcpSkill017d agoMITA86Claude Code, Codex
hood-mcpnirholas/robinhood-chain-mcpSkill910d agononeA56Claude Code