AI Tools & Scripts
ZainCash Integration Check
Catch ZainCash payment mistakes before real money moves: redirect and webhook tokens trusted without a signature check, leaked client secrets and API keys, wrong currency, decimal dinars, and unchecked refunds.
What you get: 1 file · 24.74 KB · ZIP
See purchase optionsProduct description
ZainCash sends the payment result as a signed token. Code that reads that token without checking its signature lets anyone forge a "SUCCESS" and get an order marked as paid. This skill finds that mistake and eleven others in your ZainCash Payment Gateway v2 integration, and tells you how to fix each one.
It scans JavaScript, TypeScript, Python, PHP, and Dart files, plus .env files, and returns BLOCK, REVIEW, or NOT FLAGGED with the file, line, reason, and a safer approach. It checks secrets in code, in public env variables, and in Flutter or browser code; tokens read without a signature check; a currency other than IQD; jwt.verify without an algorithms option; fixed externalReferenceId values; refunds whose FAILED status is never checked; decimal dinar amounts; payment URLs built by hand; webhooks that ignore eventId; and the test environment URL left in code.
It also includes a helper that verifies a ZainCash redirect or webhook token with your API key (HS256) and shows the status, order, transaction, and amount inside it.
It is a static check of source text: NOT FLAGGED is not a guarantee. Java and C# files are not scanned.
How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your code. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.
What you get
1 file · 24.74 KB
- zaincash-integration-check-1.0.0.zipZIP · 24.74 KB
AI Tools & Scripts
ZainCash Integration Check
Catch ZainCash payment mistakes before real money moves: redirect and webhook tokens trusted without a signature check, leaked client secrets and API keys, wrong currency, decimal dinars, and unchecked refunds.
Included in Getly ProGet Pro
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 24.74 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$5.00



