Commit Graph

5 Commits

Author SHA1 Message Date
Víctor Falcón c88318e951
fix(sync): make transaction creation idempotent (#38)
## Summary
- When a transaction ID is provided during sync, check if it already
exists before creating
- If it exists, return the existing transaction with 200 status instead
of failing with duplicate key error
- Prevents duplicate transactions when sync retries occur due to network
issues

## Test plan
- [x] Attempt to create a transaction with a specific ID
- [x] Attempt to create another transaction with the same ID
- [x] Verify the second request returns the existing transaction instead
of an error
2025-12-27 13:23:05 +00:00
Víctor Falcón 9ac46a37e0 Add retry mechanism to email mailables and update supervisor config 2025-12-18 15:38:04 +01:00
Víctor Falcón 3eaa46fa27 feat(queue): Implement queueable email jobs with rate limiting 2025-12-18 12:54:05 +01:00
Víctor Falcón fb5c09dcd8 fix: use markdown to send user lead invitation mail 2025-12-18 12:12:31 +01:00
Víctor Falcón 7abc86218c command: send email to leads 2025-12-18 09:14:04 +01:00