Commit Graph

1 Commits

Author SHA1 Message Date
faisolavolut 7feaeff415 feat: Implement Mandiri payment processing and signature verification
- Added postPayment.ts for handling Mandiri payment requests.
- Introduced stringifyMandiri.ts for stable stringification and hashing of request data.
- Created verifySignature.ts to validate signatures for transactions and general requests.
- Implemented dbPools.ts and dbQueryClient.ts for efficient database connection pooling and querying.
- Added formatTimestamp.ts for consistent timestamp formatting.
- Developed gate.ts and gateClient.ts for dynamic handler invocation based on client actions.
- Introduced getCBPartnerVA.ts for fetching business partner details from the database.
- Re-exported lodash as a shorthand for easier usage across the project.
- Created signature.ts for HMAC and RSA signature verification utilities.
- Added middleware for authentication and virtual account verification (vaAuth.ts).
- Set up Prisma client in prisma.ts for database interactions.
- Established routes in index.ts for various API endpoints including authentication, file uploads, and Mandiri payment processing.
- Defined custom request and response types in index.ts for better type safety.
- Configured TypeScript settings in tsconfig.json for improved development experience.
- Added various binary files for report templates and certificates in uploads directory.
2025-10-21 12:03:13 +07:00