Executive Taxi Fare Calculator

Journey Calculator

Availability

  • NEW: Email Functionality (Requires Backend)

    To automatically email booking confirmations, a backend service is required for security.

    • Step 1 (Frontend): The "Confirm Booking" button now gathers all booking data into a `payload` object, ready to be sent.
    • Step 2 (Backend): Create a secure API endpoint (e.g., using Node.js, Python, or PHP) on your server.
    • Step 3 (Integration): This endpoint should receive the `payload` from the frontend. It will then generate the `.ics` file content on the server.
    • Step 4 (Emailing): Using an email service (like SendGrid, Mailgun, or AWS SES), your server will send two emails:
      • One to the customer's email, with the `.ics` file attached.
      • One to `info@clarkexecutivetravel.co.uk` with the full booking details.
    • The `confirmBooking` function in the script below contains the placeholder `fetch` call where you would add your API endpoint URL.