← ClaudeAtlas

payment-testinglisted

How to test a Sri Lankan payment gateway integration before going live - sandbox hosts, test cards, what is and is not simulable, a scenario checklist (success, failure, cancel, duplicate callback, tampered amount, bad signature, lost callback), and tunnelling callbacks to localhost. Use when the user asks "how do I test this", "where are the test cards", "sandbox vs live", "my callback does not arrive locally", "how do I simulate a failed payment or webhook", or wants a go-live test plan for PayHere, OnePay, WebXPay, Genie Business or Koko. For gateway signatures, fields and endpoints use that gateway's own skill alongside this one; for general safety rules see payment-basics.
psnwd/getewise · ★ 0 · Testing & QA · score 72
Install: claude install-skill psnwd/getewise
# Payment testing Per-gateway test facts are below; the gateway skill holds the details. Where a gateway publishes nothing, say so and send the user to the gateway. **Never invent test card numbers or sandbox hosts.** ## What each gateway gives you | Gateway | Sandbox | Test cards | Gotchas | |---|---|---|---| | PayHere | `sandbox.payhere.lk` (checkout, `/merchant/v1/` REST); separate merchant ID and secret, cannot convert to live. No sandbox merchant ID is published; the token response shows `"scope": "SANDBOX"` | Published, with outcomes: success, insufficient funds, limit exceeded, do not honor, network error (Visa/MC/AMEX). Unlisted cards fail. See the payhere skill's sandbox-testing reference | REST "Access denied for the domain": allow `*` on the sandbox key. `notify_url` cannot be localhost. PayHere sends a notify **once** and does not redeliver (PayHere FAQ relayed through a community issue) — so test the reconciliation sweep. Recurring fires ~1 min after authorization; `AUTHORIZE` charge type and some recurring options are live-only | | OnePay | **No separate sandbox host.** Same `https://api.onepay.lk`; sandbox is an app in `On Development` state with its own App ID/Token/Hash Salt | Four published cards, but the page does not say which approve or decline. See the onepay skill's sandbox-currencies reference | **Refunds do not work on sandbox transactions**; 3DS is mandatory (no 2D); test refunds only with a small live payment | | WebXPay | Staging `stagingxpay.inf