7e9251be64Increase worker connections and update upstream settingsjos3duardo2025-08-17 04:30:51 -04:00
bb80471b2aUpdate payments table constraints and remove indexesjos3duardo2025-08-17 04:30:45 -04:00
95af8deae8Use query to insert payment and handle conflictsjos3duardo2025-08-17 04:30:39 -04:00
b7ebc29af4Increase payment processor concurrency and add error loggingjos3duardo2025-08-17 04:30:34 -04:00
8ab96b8292Handle duplicate payment and log processor errorsjos3duardo2025-08-17 04:30:30 -04:00
7d1d01310aIncrease payment job attempts and backoff delayjos3duardo2025-08-17 04:30:26 -04:00
ac1dcc2a6bAdd api3 service and update resource limits and restartsjos3duardo2025-08-17 04:30:20 -04:00
af8c1260d5Remove hostname entries from docker-compose.yml for servicesjos3duardo2025-08-12 09:14:30 -04:00
4ee047fb9bRefactor Docker configuration and SQL initialization for improved resource management and table structurejos3duardo2025-08-12 09:09:53 -04:00
5d268e8a5dRefactor payment processing services to use CreatePaymentDto and simplify job handlingjos3duardo2025-08-12 09:09:43 -04:00
96b1e8cd80Refactor payment processing services to use CreatePaymentDto and simplify job handlingjos3duardo2025-08-12 09:09:37 -04:00
434f03f6c6Refactor payment processors to use CreatePaymentDto and streamline payment execution logicjos3duardo2025-08-12 09:09:31 -04:00
3c2c43106aRefactor payment entity to use correlationId as primary key and remove unused fieldsjos3duardo2025-08-12 09:09:25 -04:00
4c8b331be0Refactor database module to disable synchronization in productionjos3duardo2025-08-12 09:09:19 -04:00
d03456bd6aUpdate docker-compose configuration for payment service images and resource limitsjos3duardo2025-08-11 23:57:26 -04:00
44d21423dbAdd partial results JSON file with payment processing metrics and descriptionsjos3duardo2025-08-11 23:54:35 -04:00
8dde9b96e3Refactor docker-compose.yml to update resource limits for servicesjos3duardo2025-08-11 23:54:14 -04:00
ddaa57d96dRefactor app module to remove unused HealthModule importjos3duardo2025-08-11 23:54:09 -04:00
68fc4c2f99Refactor payments module to remove unused imports and streamline dependenciesjos3duardo2025-08-11 23:54:04 -04:00
7773a4f45eRefactor payment processing to utilize PaymentJobData and streamline execution logicjos3duardo2025-08-11 23:53:58 -04:00
d28c9897daRefactor payment storage to remove unnecessary status assignment and include creation timestampjos3duardo2025-08-11 23:53:53 -04:00
bad88f2016Refactor payment execution to use PaymentJobData for improved data handlingjos3duardo2025-08-11 23:53:45 -04:00
2ab9284c85Refactor payment processors to improve concurrency and streamline payment executionjos3duardo2025-08-11 23:53:12 -04:00
7d5827871dRefactor payment job handling to simplify retry logic and update job parametersjos3duardo2025-08-11 23:53:04 -04:00
b2273181b9Refactor payment job handling to simplify retry logic and update job parametersjos3duardo2025-08-11 23:52:50 -04:00
717046120cUpdate README.md to reflect project name and featuresjos3duardo2025-08-11 23:52:39 -04:00
b233069ffbUpdate README.md to reflect project name and featuresjos3duardo2025-08-11 13:38:24 -04:00
0bea9a93d8Add initial setup guide, test scripts, and configuration filesjos3duardo2025-08-11 13:38:15 -04:00
4e5350faabUpdate docker-compose configuration for resource limits and image usagejos3duardo2025-08-11 13:14:48 -04:00
3bad475df6Add attempts column to payment table for tracking retriesjos3duardo2025-08-10 21:07:34 -04:00
471fb2328dReduce test payment iterations from 1000 to 100 for performance improvementjos3duardo2025-08-10 21:07:26 -04:00
f0c7df6f6eSimplify nginx configuration by removing unused directives and reducing complexityjos3duardo2025-08-10 21:07:16 -04:00
2bb71ef5a1Update payment status and increment attempts on processing errorjos3duardo2025-08-10 21:06:27 -04:00
397fc866ecRefactor payment processor type checks to use enum valuesjos3duardo2025-08-10 21:06:11 -04:00
474dc1af56Remove logging for payment processor error responsesjos3duardo2025-08-10 21:03:52 -04:00
43391fc938Remove logging for payment processing attempts in payment processorjos3duardo2025-08-10 21:03:20 -04:00
4d061dab3eAdd attempts column to payment entity for tracking payment attemptsjos3duardo2025-08-10 21:03:14 -04:00
012563f252Filter payments by attempts in PaymentsCron servicejos3duardo2025-08-10 21:03:07 -04:00
081cbb3410Reduce health check timeout and remove logging for health check statusjos3duardo2025-08-10 21:02:58 -04:00
ebe84fc757Add error handling for payment processor response in MakePaymentToProcessorServicejos3duardo2025-08-10 01:44:10 -04:00
6b5bdf1448Add PaymentsCron service to handle periodic payment processingjos3duardo2025-08-10 00:56:05 -04:00
d0d58e220dRefactor PaymentFallbackProcessor to utilize MakePaymentToProcessorService for payment executionjos3duardo2025-08-10 00:56:01 -04:00
f0c95308b0Refactor PaymentDefaultProcessor to use MakePaymentToProcessorService for payment processingjos3duardo2025-08-10 00:55:56 -04:00
507c774b23Add PaymentsSummaryService and MakePaymentToProcessorService to PaymentsModulejos3duardo2025-08-10 00:55:48 -04:00
7f9b03aafaAdd PaymentsSummary endpoint to PaymentsController for retrieving payment summariesjos3duardo2025-08-10 00:55:43 -04:00
1ebfc609f7Refactor ProcessPaymentService to remove RetryPaymentService dependency and streamline payment processing logicjos3duardo2025-08-10 00:55:37 -04:00
ebf16c1c24Refactor ProcessPaymentService to remove RetryPaymentService dependency and streamline payment processing logicjos3duardo2025-08-10 00:55:31 -04:00
a961414e93Add PaymentsSummaryService for summarizing payment datajos3duardo2025-08-10 00:55:28 -04:00
b5d6b4b605Add blank line for improved readability in docker-compose.ymljos3duardo2025-08-10 00:55:17 -04:00
051fabf5bbAdd test-payments.sh script for simulating payment requestsjos3duardo2025-08-10 00:55:12 -04:00
439ce1bff3Add MakePaymentToProcessorService for handling payment processingjos3duardo2025-08-10 00:55:09 -04:00
2bd2d6a5ccAdd @nestjs/schedule package and update dependencies in package.json and yarn.lockjos3duardo2025-08-09 22:37:34 -04:00
2ff84a8450Add HealthModule to the application modulejos3duardo2025-08-09 22:37:29 -04:00
c9e5fa8c2cAdd status and error_message fields to payment_processor tablejos3duardo2025-08-09 22:37:17 -04:00
31edb2cc37Update default payment processor URL in configurationjos3duardo2025-08-09 22:37:11 -04:00
6484d0afb4Add QueueService for managing payment jobs in the payment processing queuejos3duardo2025-08-09 22:36:59 -04:00
1116181d8cRefactor QueueModule to use PAYMENT_QUEUE constant and update Redis connection settingsjos3duardo2025-08-09 22:36:55 -04:00
f692877e07Add PAYMENT_QUEUE constant for payment processing queuejos3duardo2025-08-09 22:36:52 -04:00
f6b560bf86Refactor Payments module structure and update controller to use new service pathsjos3duardo2025-08-09 22:36:46 -04:00
8d6a8f75eaAdd PaymentsService, ProcessPaymentService, and RetryPaymentService for payment processing logicjos3duardo2025-08-09 22:36:37 -04:00
04b874a3a2Refactor import paths for PaymentsService to improve module organizationjos3duardo2025-08-09 22:36:31 -04:00
fefa4e2995Add payment processors for handling payment processing logicjos3duardo2025-08-09 22:36:26 -04:00
825cdca4a6Add enums for PaymentStatus and ProcessorTypejos3duardo2025-08-09 22:36:19 -04:00
b6ef03c54dAdd status and errorMessage fields to Payment entityjos3duardo2025-08-09 22:36:13 -04:00
f7f17a07bdRefactor CreatePaymentDto for consistent formattingjos3duardo2025-08-09 22:36:07 -04:00
aa6860f5d6Add HealthModule to encapsulate health-related services and dependenciesjos3duardo2025-08-09 22:35:59 -04:00