plugin-icon

MYF Fleet Booking Widget

Door myfleet·
A hero-banner cab-booking widget for MYF fleet services — outstation, local, one-way and airport transfers, right on your site.
Versie
1.0.8
Laatst bijgewerkt
Jul 21, 2026

MYF Fleet Booking Widget adds a self-contained cab-booking widget to any page or post. Visitors search live fares and confirm bookings across four service types:

  • Outstation — one-way or round trip, with per-km and daily-allowance breakdown
  • Local — hourly/km packages
  • One Way — point-to-point on-demand rides
  • Airport — drop-to-airport or pickup-from-airport transfers, with a searchable airport/station picker

Key features:

  • Insert via the [myfboen_booking] shortcode or the “MYF Fleet Booking Widget” Gutenberg block
  • Google Places autocomplete for pickup/drop addresses (requires your own Google Maps API key)
  • Light/dark theme and accent colour, configurable from Settings MYF Fleet Booking Widget
  • All calls to the MYF Fleet API are proxied through WordPress — your API token and signing salt are stored server-side and are never sent to the browser
  • No build step for the frontend or block editor scripts — pure JavaScript against WordPress core globals

Requirements

You need an active MYF Fleet API account (token + security salt) to search fares and take bookings. Without credentials configured, the widget shows a setup notice to administrators instead of rendering.

External Services

This plugin connects to two external services:

MYF Fleet API

Used to search available cabs and confirm bookings. Requests are made server-side from your WordPress install; data sent includes the pickup/drop coordinates, travel date/time, and — for bookings — the traveller’s name, mobile number and email address. All calls are proxied through WordPress; your MYF token and salt never leave the server.

  • API endpoint: https://carapi.myf.io/w/v1/json/marketplace (search: .../marketplace/search, booking: .../marketplace/booking)
  • Terms of Service: https://mindyourfleet.com/termandcondition.php
  • Privacy Policy: https://mindyourfleet.com/privacyandpolicy.php

Google Maps Places API

Used for location autocomplete in the booking form. The Google Maps JavaScript library is loaded in the visitor’s browser only when a Google Maps API key has been entered in the plugin settings; the key itself is passed to the browser to initialise the Places library.

  • Terms of Service: https://developers.google.com/maps/terms
  • Privacy Policy: https://policies.google.com/privacy
Gratisvoor betaalde abonnementen
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 7.0.2
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.