Paygate abstracts Stripe and Checkout.com behind a unified API — one integration for Visa, Mastercard, Apple Pay, and Mada. Built with Rails 8, PostgreSQL, Redis, and Sidekiq.
Supported payment methods
Visa
via Stripe
Mastercard
via Stripe
Apple Pay
via Stripe
Mada
via Checkout.com
Every subsystem you would find in an actual payment gateway.
Every charge mutation requires an Idempotency-Key. Retry safely without risk of double-billing.
Outbound webhooks are dispatched via Sidekiq with exponential backoff (5m → 30m → 2h → 24h) across 5 attempts, signed with HMAC-SHA256.
Every financial state change creates a corresponding LedgerEntry. Full audit trail with no mutable records.
PaymentRouterService uses Strategy pattern to automatically route charges to the right provider based on payment method.
Sandbox and live key pairs. Secret keys are bcrypt-hashed at rest, shown once, and revocable at any time.
Monthly RANGE partitions on created_at with automated partition creation via PartitionManagerJob.
Register a sandbox account and process your first payment in under five minutes.
Start for free