Commit Graph

9 Commits

Author SHA1 Message Date
faisolavolut 766404ed8f feat: Add payment status endpoint with date filtering
Deploy Application / deploy (push) Successful in 31s Details
2025-10-31 08:18:49 +07:00
faisolavolut 3d54b823c2 feat: Implement completeTransaction function to update transaction and invoice statuses upon completion
Deploy Application / deploy (push) Successful in 31s Details
feat: Enhance payment and inquiry functions to include user and parameter data retrieval
feat: Add sequence endpoint for retrieving sequence values in the API
2025-10-29 13:55:21 +07:00
faisolavolut 701738cc72 feat: Update syncController to filter databases by is_synced status and modify transferController to remove amount from required body fields
Deploy Application / deploy (push) Successful in 31s Details
2025-10-29 11:17:51 +07:00
faisolavolut 43a21097c0 feat: Add status endpoint for payment virtual account and implement scheduled tasks for syncing
Deploy Application / deploy (push) Successful in 31s Details
2025-10-29 08:34:39 +07:00
faisolavolut 180c532814 feat: Update payment transfer route to a more concise path
Deploy Application / deploy (push) Successful in 29s Details
2025-10-28 12:50:32 +07:00
faisolavolut 1edfd6ff42 feat: Update payment transfer route to include API prefix
Deploy Application / deploy (push) Has been cancelled Details
2025-10-28 12:50:17 +07:00
faisolavolut 75b38bfa0d feat: Implement Mandiri payment processing and signature generation endpoints 2025-10-27 20:21:48 +07:00
faisolavolut 5f35a0d35d feat: Implement Midsuit Payment functionality in transferController
- Added MidsuitPayment function to handle payment inquiries and processing.
- Integrated database queries to validate payment details and user information.
- Implemented logic for different transfer methods (RTGS, SKN, Inhouse) based on bank codes and amounts.
- Enhanced error handling for various scenarios including token validation and payment mismatches.
- Updated routes to include the new MidsuitPayment endpoint.

refactor: Update getToken and dbQueryClient for improved functionality

- Refactored getToken to streamline token retrieval and session management.
- Enhanced dbQueryClient to support action-based queries (first or all).
- Added utility functions for parameter retrieval from user data.

chore: Add new transfer-related services for Mandiri bank

- Created TransferInhouse, TransferInterbank, TransferRTGS, TransferSKN, and TransferInterbankBulk services.
- Implemented signature generation and token handling for each transfer type.
- Updated generateSignatureService to manage token generation and signature creation.

test: Add request JSON examples for transferController

- Included example request payloads for MidsuitPayment and RTGS transfers.
- Ensured request structures align with the new transfer functionalities.

docs: Add getParameter utility for parameter retrieval

- Introduced getParameter function to simplify access to user parameters.
- Improved code readability and maintainability across the application.
2025-10-23 15:03:20 +07:00
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