Fix Duplicate Orders Caused by Repeated Webhooks in Laravel
international-development, product-development, web-programming, web-application, artificial-intelligence, mobile-app, e-commerce-website
Preferred qualifications
- Experience: Intermediate
We need a Laravel developer to fix a specific bug in an existing application.
Our webhook endpoint occasionally receives the same event more than once, resulting in duplicate orders. We need the handler to safely process repeated deliveries without creating duplicates, including when requests arrive close together.
Your task is to reproduce the issue, identify the cause, and implement a focused fix using appropriate database safeguards. Please add regression tests covering repeated delivery of the same event and confirm that separate valid events still create their respective orders.
The application and local setup instructions will be provided. This task covers one endpoint and its order creation logic.
Please include a brief explanation of the cause, your solution, and how you verified it.
Open job
AI proposal draft
Generate a short cover letter to copy into the offer. Says you are interested and ready to work.
Sign in to generate an AI proposal draft.
Log in