feat(payment): add support for CryptoSaaS payment platform and enhance configuration handling

This commit is contained in:
Chang lue Tsen
2025-09-06 12:22:39 -04:00
parent 47446ef410
commit 4d95834c22
7 changed files with 157 additions and 45 deletions
@@ -26,7 +26,7 @@ func PaymentNotifyHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
}
switch payment.ParsePlatform(platform) {
case payment.EPay:
case payment.EPay, payment.CryptoSaaS:
req := &types.EPayNotifyRequest{}
if err := c.ShouldBind(req); err != nil {
result.HttpResult(c, nil, err)