Skip to content
cd ~/projects: all projects

Booking and payments

Rental

Online booking and payments for a refrigerated-trailer rental company.

Visit site(opens in a new tab)
Screens from Rental

cat README.md: overview

Customers check that their address is inside the service area, pick dates and times, see tiered per-day pricing and pay with Stripe. Admins run orders, invoices, a booking calendar, products and site content from one dashboard.

Built as a modular monolith on Laravel: each module (orders, products, customers, pages, blog) has its own controllers, services and repositories, with Inertia and React for the interface. Payments go through a gateway interface, so another provider can sit beside Stripe. The storefront is SEO-friendly and built for phones first.

What I built

  • Service-area check with Google Places before a customer can book
  • Date and time booking with tiered per-day pricing and Stripe checkout
  • Orders created in one transaction with a date-overlap check, so a trailer is never booked twice
  • A queued job cancels unpaid orders after 5 minutes, voiding the payment and freeing the dates
  • Payments confirmed by Stripe webhook or on return to the site, then a numbered PDF invoice is emailed through SendGrid
  • Customer accounts with order history, downloadable invoices and saved delivery addresses
  • Admin dashboard with sales charts, a booking schedule calendar, and orders, payments, invoices, customers and products
  • Built-in CMS for pages, blog posts, FAQs and site settings, plus a contact form inbox
  • Roles and permissions, and an activity log that records every change