PayBridge

Payment orchestration backend

Java 21 and Spring Boot payments backend that keeps payment and reversal flows consistent across Stripe and NicePay, with retry safe recording, webhook deduplication, operator review pages.

Shared lifecycle Approvals, refunds, cancellations, and partial reversals

Provider execution paths write into one payment record and one reversal history.

Operator visibility Search, detail, and JSON exports

Authenticated operator pages expose transactions, audit logs, outbox records, and recent webhook activity.

Runtime proof Tests, CI/CD, and AWS demo

GitHub Actions runs automated tests before deploying the Docker Compose stack to one Graviton EC2 host with PostgreSQL on the same instance.

What this service covers

  • One shared payment and reversal lifecycle across Stripe PaymentIntents and NicePay test approvals.
  • Idempotency records and webhook event deduplication help prevent duplicate payment state changes.
  • Audit logs and outbox records make approvals, refunds, cancellations, and webhook acknowledgements easier to trace.
  • Operator pages and JSON APIs support transaction search, audit inspection, outbox review, webhook review, and machine readable exports.

Provider coverage

Stripe

Browser payment flow using Stripe Payment Element, server created PaymentIntents, return page verification, refunds, and webhooks.

Available

NicePay test payment

Public test payment flow using provider test credentials. Approval is open for demo use, while cancellations and transaction detail stay behind operator sign-in.

Available

Primary routes

  1. Checkout entry that opens Stripe and NicePay public test routes.
  2. Stripe browser checkout with a public result page and webhook confirmation.
  3. NicePay test payment flow with public approval and operator protected cancellation.
  4. GitHub Actions runs automated tests before the Docker Compose stack is deployed on AWS Graviton EC2 with PostgreSQL on the same instance.