payment-testinglisted
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