AliMPay SaaS V1

Multi-tenant payment operations for Alipay QR workflows.

Next.js, shadcn/ui, Prisma, PostgreSQL 16, and a PM2 polling worker. COS STS direct upload is wired for tenant QR image management.

PostgreSQL 16
Orders, bill queries, callbacks, and audit logs are modeled for tenant-scoped history.
Isolated polling
A PM2 worker polls Alipay by tenant configuration and never from the payment return page.
Server-side keys
CodePay signing and Alipay credentials stay on the server side with Prisma persistence.