paymob-check-hmac
CommandAudit a Paymob webhook HMAC verification implementation for correctness and safe failure behavior.
Audit a Paymob integration for go-live readiness and report a pass/fail checklist plus the Paymob-side approval steps still pending.
> /plugin marketplace add PaymobAccept/Paymob-AI-Integration-Skill> /plugin install paymob-integration@paymob
description: Audit a Paymob integration for go-live readiness and report a pass/fail checklist plus the Paymob-side approval steps still pending. argument-hint: "[path to the payment code, optional]" disable-model-invocation: true allowed-tools: Read Glob Grep
Check this Paymob integration for go-live readiness: $ARGUMENTS
**Ground rules:**
**Finding the skill files.** Use the first of these paths that exists:
1. `${CLAUDE_PLUGIN_ROOT}/skills/paymob-integration/`, for a plugin install 2. `~/.claude/skills/paymob-integration/`, for a personal skill install. `~` is the user's home directory. On Windows, expand it yourself (`%USERPROFILE%\.claude\skills\…`), because a literal `~` won't resolve there. 3. `skills/paymob-integration/`, for a repository checkout, relative to the working directory
`${CLAUDE_PLUGIN_ROOT}` is only substituted for plugin installs. If it shows up unexpanded, this isn't a plugin install, so use path 2 or 3.
Read `references/post-integration.md` §1 (the go-live checklist). For checklist items 5 and 6, also read `references/hmac-verification.md`. **If you cannot read these files, say so and stop.** Don't audit from memory. A checklist from memory can pass a wrong HMAC field order or a missing idempotency guard, and those are the failures this check exists to catch.
Ask which kind of integration this is if it isn't obvious: custom code, a plugin, a Shopify app, or Payment Links. For plugins, Shopify apps, and Payment Links, skip the code items. Report only checklist items 4, 11, and 12, plus Paymob's approval stages. For WordPress, also recommend Store Check.
For each numbered item in the §1 checklist, report **PASS / FAIL / CAN'T VERIFY**, with the file and line as evidence. Pay particular attention to:
Mark anything that depends on the Dashboard or the account (items 4 and 11, and whether live credentials exist) as **CAN'T VERIFY: confirm in Dashboard**. Don't mark it PASS.
1. The checklist table, with FAIL items first and a one-line fix for each. 2. The Paymob approval stages from §1 that the merchant should confirm with Paymob: paperwork, contract, risk, technical approval, and live credentials. Say plainly that code readiness doesn't make the account live. 3. Next steps:
Claude.ai / ChatGPT / Lovable skill upload: Download paymob-integration.zip — do not use GitHub's Code → Download ZIP. Give any AI coding agent expert, workflow-driven knowledge of the Paymob payment gateway across Egypt, UAE, KSA, and Oman.
Audit a Paymob webhook HMAC verification implementation for correctness and safe failure behavior.
Walk through Paymob's integration chooser and recommend the right payment model and checkout surface for this merchant.
Explain a Paymob error code, HTTP status, or error message and give the cause and fix.
Recommend which Paymob payment methods to enable for a merchant's business, with regional availability, refund support, and what…
Draft a redacted Paymob support ticket from the current issue and route it to the right channel (Mobe, forum, wizard Contact…
Show Paymob sandbox test card and wallet credentials, optionally filtered by payment method.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.