7.1 Booking widget on a WordPress site — step by step
The CarRentSoft booking plugin for WordPress puts an online booking widget on your car rental website without editing the page code: with an editor block, a shortcode or a floating “Book now” button. The widget itself — a search form, a catalog of fleet units with prices, a full booking with customer documents, or a button — is set up in the CarRentSoft cabinet and is changed there too: nothing has to be redone on the website. Below is the connection step by step, from the cabinet to the first booking.
The plugin is free and distributed under the GPL licence. Bookings, customer cards and photos of their documents from the website appear in the cabinet.
Step 1. The widget in the cabinet and the site address
- Open the section “Integrations & Agents” and in the block “Booking widget for your website” click “Set up widgets”.
- Click “+ Add widget” and choose the kind, for example “Booking on the page”.
- In the field “Your website addresses (where the widget may be embedded), one per line” enter the site address as it is shown in the browser address bar, for example mysite.com. If the site opens both with and without www, enter both lines. Without the address the widget works only in the cabinet preview.
- Click “Save”.
- Next to “Copy code” click “Download WordPress plugin”. The archive carrentsoft-booking-version.zip is downloaded: the ID of this widget is already filled in, there is no need to look for it in the code.

Step 2. Installing the plugin in WordPress
- In the WordPress admin open “Plugins” → “Add Plugin” and click “Upload Plugin”.
- Choose the downloaded archive and click “Install Now”.
- When WordPress reports that the plugin is installed, click “Activate Plugin”.


Step 3. Plugin settings
Open “Settings” → “CarRentSoft Booking”. The widget ID in the field “Default widget ID” is already there; leave the field “CarRentSoft address” as it is. Here you can also turn on a floating “Book now” button on all pages: tick “Show the button on every page”, paste the ID of a widget of the kind “Book now” button into “Button widget ID” and choose “Button position”. If you changed anything, click “Save Changes”.
The widget language is the language of the page the visitor is reading (Polylang, WPML, TranslatePress or the site language); to always show the widget in one language, choose it in the field “Widget language”.

Step 4. The widget on a page
- Open “Pages” → “Add Page” (or the page you need) and enter a title.
- Click “+” and find the block “CarRentSoft booking widget” (search for the word CarRentSoft). Leave the block field empty — the page shows the widget from the plugin settings; for another widget enter its ID in this field.
- Click “Publish” and “Publish” once more in the check panel. The button “View Page” opens the finished page.
Instead of the block you can insert the shortcode [carrentsoft_widget], for another widget — [carrentsoft_widget id="widget ID"]. A website can have any number of widgets: for example, a search form on the home page and a catalog on a separate page.


Step 5. Check and a test booking
- Open the published page: the widget stands right in the website page.
- Make a test booking: dates, fleet unit, extras, customer details. With Stripe test keys the payment goes through with the test card 4242 4242 4242 4242 (any future date, any CVC), no money is charged.
- In the cabinet, in the widget settings, click “Check the connection”: green steps — everything is ready, a red step says what to fix and where. If the site is shown as refused, click “Add the address” and “Save”.
- The booking is in “Rentals” → “Reservations”, the customer with documents is in “Customers”. Cancel the test booking after the check.




If something does not work
- Start with “Check the connection” in the widget settings: the window shows from which addresses the widget was opened and whether the server let them in, whether a payment system is connected and whether there are fleet units and locations.
- Instead of the booking the visitor sees a message that the site is not allowed — the address is missing from “Your website addresses (where the widget may be embedded), one per line” (or it is entered without www while the site opens with www).
- Visitors see only the link “Book online” — the CarRentSoft server cannot be reached or the widget ID is wrong; the site administrator sees the reason under the link.
- Online prepayment cannot be turned on until a payment system is connected: the cabinet tells you where to connect it — or choose “Request without payment” in the panel “Booking”.
All widget settings and the editor are in the article Embedding booking on your website (iFrame).