Skip to content

Releases

SandPay 0.1.0 — 15 gateways on localhost

Choose a tag to compare

@github-actions github-actions released this 30 Nov 05:07

SandPay's first release: 15 payment gateways on localhost — Razorpay, PhonePe, Cashfree, PayU, Paytm, CCAvenue, Easebuzz, Instamojo, Juspay, Pine Labs Plural, Zaakpay, BillDesk, Airpay, Stripe and PayPal. Each keeps its own request format, signing and webhooks; your app only changes the host.

Walkthrough

Install

npm install -g https://github.com/karthikrshet/SandPay/releases/download/v0.1.0/sandpay-0.1.0.tgz
sandpay

Node 22+. The npm package is not published yet; the tarballs below are the same build.

Highlights

  • 15 gateways, all passing the cross-gateway compatibility suite (sandpay compat: 75/75).
  • Every payment method and outcome on the hosted checkout: UPI intent/collect/QR, cards, netbanking, wallets, EMI, pay later, bank transfer; success, pending, declines.
  • Recurring payments: PhonePe Autopay (with the 24-hour pre-debit notice), Cashfree subscriptions, PayU standing instructions, Paytm subscriptions, Razorpay subscriptions.
  • Payment links on Razorpay, Cashfree, PayU and Paytm.
  • Chaos and outages: per-order chaos presets, API faults, webhook faults, and gateway outage mode (--outage cashfree=down or the dashboard switch).
  • Settlement reports per gateway as CSV/JSON.
  • Developer kit: Node and Python SDK shims, a Postman collection for all 15 gateways, an OpenAPI spec for the control API, and a failover routing example with a circuit breaker.
  • Dashboard with orders, payments, webhooks (replayable), gateways, simulator odds and time travel.

Notes

  • Shapes come from each gateway's public docs and are marked partial until compared with recorded sandbox traffic. Airpay is modelled on its PHP kit; PayPal webhooks use HMAC (verify them with verify-webhook-signature). See docs/compat.md.
  • SandPay never moves money and refuses live credentials. It is an independent project, not affiliated with any gateway it emulates.

Full changelog: packages/cli/CHANGELOG.md