Commit Graph

56 Commits

Author SHA1 Message Date
faisolavolut faa30f3d7f feat: add dayjs for date formatting and implement invoice partner functionality
Deploy Application / deploy (push) Successful in 39s Details
2025-11-24 15:33:53 +07:00
faisolavolut d7031052ea fix: add activity logging for existing records fetched during database sync process
Deploy Application / deploy (push) Successful in 36s Details
2025-11-24 10:29:40 +07:00
faisolavolut f248c5889f fix: improve record comparison by normalizing whitespace in invoice IDs during database sync
Deploy Application / deploy (push) Successful in 36s Details
2025-11-24 10:28:09 +07:00
faisolavolut c911d02cd6 fix: enhance record comparison in database sync process for accuracy
Deploy Application / deploy (push) Successful in 35s Details
2025-11-20 15:11:07 +07:00
faisolavolut b5d5b1c272 fix: optimize existing record lookup in database sync process
Deploy Application / deploy (push) Successful in 35s Details
2025-11-20 15:00:40 +07:00
faisolavolut 2425144d6c fix: update database sync process to improve record filtering and logging details
Deploy Application / deploy (push) Successful in 36s Details
2025-11-20 14:47:49 +07:00
faisolavolut 1ee8c91611 fix: add activity logging for database sync process
Deploy Application / deploy (push) Successful in 49s Details
2025-11-20 10:42:41 +07:00
faisolavolut e09b2517e1 fix: refactor paymentStatus to improve error handling and response structure
Deploy Application / deploy (push) Successful in 38s Details
2025-11-11 16:00:50 +07:00
faisolavolut a19933a06e fix: increase idle timeout for database connection pools to 1 hour
Deploy Application / deploy (push) Successful in 38s Details
2025-11-11 14:09:38 +07:00
faisolavolut f4d8cb1031 fix: update uploads route to specify date and filename parameters
Deploy Application / deploy (push) Successful in 37s Details
2025-11-11 11:57:59 +07:00
faisolavolut 49d77bdec6 fix: reorder is_synced and is_active fields in database and whitelistcors models
Deploy Application / deploy (push) Successful in 36s Details
2025-11-11 11:37:27 +07:00
faisolavolut 4e0f729ec8 fix: update CORS middleware to include OPTIONS method for public API endpoints
Deploy Application / deploy (push) Successful in 35s Details
2025-11-11 11:07:57 +07:00
faisolavolut 6fa2360d64 fix: update CORS middleware to set public options and improve origin handling
Deploy Application / deploy (push) Successful in 36s Details
2025-11-11 11:05:44 +07:00
faisolavolut ccccb9d63b fix: update CORS middleware to retrieve multiple allowed origins from the database
Deploy Application / deploy (push) Successful in 36s Details
2025-11-11 11:03:37 +07:00
faisolavolut 83ac69ac71 fix: simplify cache key handling in CORS middleware
Deploy Application / deploy (push) Successful in 37s Details
2025-11-11 11:02:22 +07:00
faisolavolut a82c732811 fix: remove debug log for public API endpoint check in CORS middleware
Deploy Application / deploy (push) Successful in 37s Details
2025-11-11 10:34:02 +07:00
faisolavolut 93d710af84 fix: remove unused parameters from stringifyMandiri call in verifySignature function
Deploy Application / deploy (push) Successful in 40s Details
2025-11-11 09:06:31 +07:00
faisolavolut 30a93df340 feat: add JWT authentication and signature verification for payment APIs
Deploy Application / deploy (push) Failing after 34s Details
- Added JWT_SECRET to docker-compose for JWT signing.
- Updated package.json and package-lock.json to include jsonwebtoken and its types.
- Implemented JWT creation and verification functions in auth middleware.
- Enhanced payment middleware to validate JWT and traditional tokens.
- Introduced signatureTransaction and signatureAuth endpoints in paymentVAController.
- Added signature verification logic in paymentAuth middleware.
- Created verifySignatureV2 function for signature validation using public keys.
- Updated routes to include new payment-related endpoints.
2025-11-10 23:22:41 +07:00
faisolavolut 1e111b0be2 fix: Update versioned API route to include '/api/' prefix
Deploy Application / deploy (push) Successful in 36s Details
2025-11-10 15:51:02 +07:00
faisolavolut b3e2a16c8e fix: Add validation for date filtering in payment status endpoint
Deploy Application / deploy (push) Successful in 33s Details
2025-11-03 10:42:36 +07:00
faisolavolut b75a62dc70 fix: Change payment status route from GET to POST and update request body handling
Deploy Application / deploy (push) Successful in 1m10s Details
2025-11-03 10:32:50 +07:00
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 2ad6c2759f refactor: Remove unused caching logic in getPoolForDbId function
Deploy Application / deploy (push) Successful in 32s Details
2025-10-29 15:15:14 +07:00
faisolavolut be5461e7da feat: Add error handling for pool connection in dbQueryClient function
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 15:09:14 +07:00
exzork 47f1416193 update compose
Deploy Application / deploy (push) Successful in 20s Details
2025-10-29 15:07:59 +07:00
faisolavolut ebf6e2e6a3 refactor: Remove commented-out TypeScript path from candidates in callGate function
Deploy Application / deploy (push) Successful in 31s Details
2025-10-29 15:01:35 +07:00
faisolavolut 9e9299f301 feat: Add activity logging for pool connection in dbQueryClient function
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 14:32:07 +07:00
faisolavolut 08acb89dbf feat: Enhance activity logging in dbQueryClient function to include query execution details
Deploy Application / deploy (push) Successful in 31s Details
2025-10-29 14:30:10 +07:00
faisolavolut 9546c2722f feat: Add activity logging for database connection retrieval in getPoolForDbId function
Deploy Application / deploy (push) Successful in 32s Details
2025-10-29 14:27:31 +07:00
faisolavolut b209bea2e4 feat: Enhance activity logging in dbQueryClient function to track pool retrieval actions
Deploy Application / deploy (push) Successful in 32s Details
2025-10-29 14:23:28 +07:00
faisolavolut 59a47cce84 feat: Add activity logging for database retrieval in dbQueryClient function
Deploy Application / deploy (push) Successful in 33s Details
2025-10-29 14:18:21 +07:00
faisolavolut 966317168c feat: Update message in activity log for fetching business partner to include database name
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 14:15:31 +07:00
faisolavolut f7169ff4fe feat: Enhance activity logging in inquiry and getInvoiceVirtualAccount functions to track user actions and outcomes
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 14:12:42 +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 85ff2f00a9 feat: Enhance generateSignatureService to log activity for signature generation and update status
Deploy Application / deploy (push) Successful in 30s Details
2025-10-29 08:53:28 +07:00
faisolavolut d42d983019 feat: Refactor callGate function to support multiple candidate paths for dynamic imports
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 08:47:44 +07:00
faisolavolut 9f71c004f1 feat: Enhance error handling in b2bAccessToken by logging errors to activity_logs
Deploy Application / deploy (push) Successful in 29s Details
2025-10-29 08:43:31 +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 4c6036959b feat: Enhance centralized error handler to return structured JSON responses with specific CORS error handling
Deploy Application / deploy (push) Successful in 30s Details
2025-10-28 15:02:41 +07:00
faisolavolut bdcab809c9 feat: Implement dynamic CORS middleware using tenant-specific whitelist from database
Deploy Application / deploy (push) Successful in 31s Details
2025-10-28 14:51:53 +07:00
faisolavolut d9f7feba5c fix: Update getTokenAuth function to return null for missing token instead of throwing an error
Deploy Application / deploy (push) Successful in 30s Details
2025-10-28 12:55:58 +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 5ba55f55da feat: Remove unnecessary logging and streamline transaction creation in MidsuitPayment function
Deploy Application / deploy (push) Successful in 30s Details
2025-10-28 12:47:51 +07:00
faisolavolut 1bcc5528b7 feat: Refactor transaction handling by removing is_pay field and adding documentno in relevant models
Deploy Application / deploy (push) Successful in 30s Details
2025-10-28 12:43:42 +07:00
faisolavolut d6effb7fd8 feat: Enhance payment processing with additional validations and sequence generation
Deploy Application / deploy (push) Successful in 30s Details
2025-10-28 12:29:02 +07:00
faisolavolut 2f0eae4f7e feat: Update CORS configuration to allow requests from additional origin
Deploy Application / deploy (push) Successful in 30s Details
2025-10-27 20:35:54 +07:00
faisolavolut f922db16cf Merge branch 'main' of https://git.avolut.com/midsuit/portal-payment-be
Deploy Application / deploy (push) Successful in 34s Details
2025-10-27 20:32:31 +07:00
faisolavolut 75b38bfa0d feat: Implement Mandiri payment processing and signature generation endpoints 2025-10-27 20:21:48 +07:00