Rezgo Booking API Integration for Botble Farmart
What It Is
The Problem
A client running a Botble Farmart eCommerce store needed orders automatically submitted to the Rezgo booking system the moment a customer checked out. There was no native integration between the two platforms, meaning staff had to manually relay order data across systems, introducing delays and errors.
How I Solved It
Built an event driven Laravel plugin that listens to the OrderPlacedEvent and immediately posts the order payload to the Rezgo API. All API interactions are logged to a dedicated database table with full request and response payloads. Built a professional admin dashboard showing submission history, success rates, HTTP status codes, and a detailed modal for inspecting individual API calls. Includes comprehensive error handling, timeout protection, and fallback logic.
The Impact
Eliminated manual order relay between systems entirely. Orders reach Rezgo automatically within seconds of checkout. The admin dashboard gives the client full visibility into every API interaction and makes troubleshooting straightforward without touching logs.