How agoodays/agpayplus works
AgPay is a multi-channel SaaS payment platform with separate operator, agent, merchant, and cashier interfaces backed by role-specific APIs and a payment gateway. The user-facing flow spans payment initiation, channel processing, and payment/refund/transfer operations; the administrative branches cover merchant setup, channel configuration, order oversight, and reporting. README capability claims establish several unsampled subsystem links. Source excerpts specifically show channel order-query implementations using order/configuration data and returning normalized channel results; other backend internals are not sampled.
Main entry points: AGooday.AgPay.Payment.Api Payment gateway API · AGooday.AgPay.Manager.Api Operator API · Channel Channel order queries · src Operator portal
Components 22
User interfaces
- Operator portal
ant-design-vue/agpay-ui-manager/src - Agent portal
ant-design-vue/agpay-ui-agent/src - Merchant portal
ant-design-vue/agpay-ui-merchant/src - Cashier
ant-design-vue/agpay-ui-cashier/src/views
Administration
- Merchant setup
ant-design-vue/agpay-ui-manager/src/views/mch - Agent management
ant-design-vue/agpay-ui-manager/src/views/agent - Users and roles
ant-design-vue/agpay-ui-manager/src/views/role - Channel configuration
ant-design-vue/agpay-ui-manager/src/views/payconfig - Statistics
ant-design-vue/agpay-ui-manager/src/views/statistic
Payment operations
- Payment orders
aspnet-core/src/AGooday.AgPay.Application/DataTransfer/PayOrderDto.cs - Channel order queries
aspnet-core/src/AGooday.AgPay.Components.Third/Channel - Payment channel adapters
aspnet-core/src/AGooday.AgPay.Components.Third/Channel - Channel result
aspnet-core/src/AGooday.AgPay.Components.Third/RQRS/Msg/ChannelRetMsg.cs
Backend services
- Payment gateway API
aspnet-core/src/AGooday.AgPay.Payment.Api - Operator API
aspnet-core/src/AGooday.AgPay.Manager.Api - Agent API
aspnet-core/src/AGooday.AgPay.Agent.Api - Merchant API
aspnet-core/src/AGooday.AgPay.Merchant.Api
Infrastructure
- MySQL
- Redis
- RabbitMQ
Other components
- Platform users
- Payment providers
Connections 23
- Platform users → Operator portal: administers
README.md - Platform users → Agent portal: manages agents
README.md - Platform users → Merchant portal: manages business
README.md - Platform users → Cashier: initiates payment
README.md - Operator portal → Operator API: uses API
README.md - Agent portal → Agent API: uses API
README.md - Merchant portal → Merchant API: uses API
README.md - Cashier → Payment gateway API: submits payment
README.md - Operator API → Merchant setup: supports setup
README.md - Operator API → Agent management: supports management
README.md - Operator API → Users and roles: supports access
README.md - Operator API → Channel configuration: supports configuration
README.md - Operator API → Statistics: provides statistics
README.md - Payment gateway API → Payment orders: handles orders
README.md - Payment gateway API → Channel order queries: queries status
README.md - Channel order queries → Payment orders: reads order
aspnet-core/src/AGooday.AgPay.Components.Third/Channel/DgPay/DgPayPayOrderQueryService.cs - Channel order queries → Payment channel adapters: calls provider
aspnet-core/src/AGooday.AgPay.Components.Third/Channel/DgPay/DgPayPayOrderQueryService.cs - Channel order queries → Channel result: returns status
aspnet-core/src/AGooday.AgPay.Components.Third/Channel/DgPay/DgPayPayOrderQueryService.cs - Channel order queries → Payment providers: queries provider
aspnet-core/src/AGooday.AgPay.Components.Third/Channel/HkrtPay/HkrtPayOrderQueryService.cs - Payment gateway API → Payment providers: integrates channels
README.md - Payment gateway API → MySQL: uses database
README.md - Payment gateway API → Redis: uses cache
README.md - Payment gateway API → RabbitMQ: uses messaging
README.md