🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

GravityExtra Stay Booking Setup Guide

Updated 12 min read WordPress Plugins Integrations A–Z
On this page
  1. What you need
  2. Install and activate
  3. Who can use the booking admin
  4. Accommodations and rooms
  5. Prices, seasons and stay rules
  6. Extras, fees and tax
  7. Searching and booking
  8. Deposits and the balance
  9. Stripe
  10. PayPal
  11. Payment holds
  12. One booking per room and night
  13. Calendar sync (iCal)
  14. E-mails
  15. The admin: bookings, booking page and calendar
  16. How it differs
  17. Privacy and data
  18. Frequently asked questions

GravityExtra Stay Booking takes room bookings on your own WordPress site. It is made for hotels, guest houses, B&Bs, hostels with private rooms and holiday rentals: you describe each accommodation once, list its rooms, and guests search by dates, choose extras, see the full price and pay a deposit or the whole stay by card or PayPal. Staff see every booking in a list, on a booking page with actions and on a month calendar of all rooms. It is a standalone WordPress plugin: no Gravity Forms needed.

What you need

WordPress 6.5 or newer and PHP 7.4 or newer, with any theme (block themes and classic themes both work, because the booking area is added to the accommodation page and to three shortcodes). Online payments need a Stripe account, a PayPal business account with a REST app, or both; you can also take bookings without online payment and let guests pay at the property. Your site must use https for Stripe and PayPal to send guests back to it.

Install and activate

  • Upload the plugin zip in Plugins → Add New → Upload Plugin and activate it. A new Stay Booking menu appears with Bookings, Calendar, Accommodations and Settings.
  • Go to Stay Booking → Settings → License, enter your GravityExtra license key and press Activate License. The key is shown masked once it is active.
  • Work through the General, Payments and E-mails tabs, then add your first accommodation.
The License tab of the Stay Booking settings with the key field showing a masked active key and a Deactivate License button
Activate your license key on the License tab.

Without an active license, guests cannot place new bookings: the booking area tells visitors that online booking is closed and asks them to contact you, and the settings are read-only. Everything you already have keeps working: existing bookings stay in the admin, staff can confirm, cancel and record payments, guests can still pay for a booking they already made, and the calendar feeds keep sending your booked nights to other sites.

Who can use the booking admin

All booking screens use one capability, gewsb_manage_bookings. Administrators get it when the plugin is activated. To let front-desk staff work with bookings without giving them the rest of the admin, add this capability to a role with any role editor plugin. Only administrators can manage the license.

Accommodations and rooms

An accommodation is a kind of room you sell, for example “Garden Double Room”. Add one in Stay Booking → Accommodations → Add accommodation. The title, text, excerpt and featured image work like any WordPress post, and the accommodation gets its own page with the booking area under your text.

  • Price per night: the normal price, in the currency of your settings. It covers every guest up to the maximum.
  • Adults, children and guests in total: the party sizes this accommodation takes. Searches and the booking form never offer more.
  • Minimum and maximum stay in nights.
  • Beds and size: short texts shown to guests, such as “1 queen bed” and “22 m²”.
  • Amenities: tick from the list (each has its own small icon) and add your own, one per line.
  • Photos: choose them from the media library; the first is the large one and guests switch between them with the thumbnails.

Under Rooms and calendar sync, list the actual rooms of this accommodation: “Room 1”, “Room 2”, “Room 3”. Guests book the accommodation and the plugin gives them a room that is free for every night of the stay, so an accommodation with three rooms can be booked three times for the same night. Untick Bookable to take a room out of sale for a while. A room with current or future bookings is switched off instead of removed, so no booking loses its room.

Prices, seasons and stay rules

Every night of a stay is priced on its own. The plugin starts with the price per night and looks for a seasonal rate that covers that night. A seasonal rate has a name, a first and a last night, a price and, if you want, a set of weekdays. With weekdays you build weekend prices: a rate for Friday and Saturday nights over the whole year. When rates overlap, the one higher up in the list wins, so put special weeks such as a festival above the weekend rate.

A seasonal rate can also have its own minimum stay. It applies when the check-in night falls inside the season, for example three nights in summer while the rest of the year takes one-night stays. The calendar shows the minimum stay on the days where it is longer than one night.

In Settings → General you also choose how far ahead guests can book (at least and at most a number of days) and the check-in and check-out times shown in e-mails and on the booking page.

Extras, fees and tax

Extras are things guests can add to a stay, set per accommodation. Each extra is charged per stay (an airport transfer), per night (a parking space), per guest (a welcome pack) or per guest per night (breakfast). Guests tick them in the booking form and the price updates straight away.

Fees apply to every booking and are set on the General tab: per stay (a cleaning fee), per night, per guest (a city fee) or a percentage of the accommodation price. The tax rate is added on top of the accommodation and the extras, and also on the fees when you tick that option. Each fee and the tax appear as their own line in the price, in the e-mails and in the admin, and the lines always add up to the total.

Searching and booking

Each accommodation page shows the photos, the facts and amenities, the lowest price per night and the booking area. To add booking to other pages, use the shortcodes: [gewsb_search] shows a search form for check-in, check-out, adults and children and lists only the accommodations that are free for every night and fit the party, each with the total price of the stay. [gewsb_rooms] lists all accommodations as cards, and [gewsb_room id="123"] places the booking area of one accommodation anywhere.

The booking area of a guest house room: a two-month availability calendar with nightly prices, the chosen stay highlighted, check-in and check-out dates, guests, extras and the price with cleaning fee, VAT and a 30 percent deposit
Guests pick their dates on the calendar and see the full price before they book.

The availability calendar shows two months with the price of each free night. Guests click a check-in day and a check-out day, or type the dates, and choose the number of guests and the extras. The price box lists the nights, extras, fees and tax, the total, and the deposit to pay now when you take deposits. The calendar works with the keyboard: Tab reaches the days, the arrow keys move between them and Enter selects one; every day has a full spoken label such as “Friday 4 December 2026, available”.

The next step asks for the guest’s name, e-mail, phone, country and any requests, then the payment choice. When the guest presses Book and pay, the plugin checks the price once more on the server; if anything changed in between (you edited a price, for example), the guest sees the new price and books again, so nobody is charged an amount they did not see.

The details step of the booking: name, e-mail, phone, country and requests, a choice between paying the deposit or the full amount, the payment methods card, PayPal and pay at the property, and a Book and pay button with the amount
The details step: deposit or full amount, and the payment method.

Deposits and the balance

On the Payments tab choose no deposit, a percentage of the total, or a fixed amount. With a deposit, guests pay that part when they book and the rest is the balance due. Tick Let guests choose to pay the full amount now to offer both. The confirmation e-mail shows the balance and links to the guest’s booking page, where the guest can pay it online by card or PayPal at any time. When guests pay at the desk instead, open the booking in the admin and use Record payment.

Stripe

  • Tick Accept cards with Stripe Checkout, pick test or live mode and paste your secret key (sk_test_ or sk_live_).
  • In your Stripe dashboard, add a webhook endpoint with the address shown under the signing secret field, for the events checkout.session.completed, checkout.session.async_payment_succeeded and checkout.session.expired, then paste its signing secret (whsec_).

Guests pay on Stripe’s own Checkout page and come back to their booking page. The booking is confirmed when Stripe’s signed webhook arrives or when the plugin reads the session back from Stripe on the return page, and only if Stripe reports it as paid with exactly the amount and currency of the booking. Webhooks with a missing, wrong or older-than-five-minutes signature are refused. Your secret keys are stored on your site, shown masked and never sent to the browser.

PayPal

  • Create a REST app in the PayPal developer dashboard and paste its client ID and secret; pick sandbox or live.
  • Add a webhook to the app for PAYMENT.CAPTURE.COMPLETED and CHECKOUT.ORDER.APPROVED with the address shown in the settings, and paste the webhook ID.

Guests approve the payment on PayPal and come back to their booking page, where the plugin captures the order and confirms the booking once PayPal reports the capture as completed with the booking’s amount. A webhook only counts after PayPal’s own verification service confirms it is genuine, and the same payment is never counted twice, even when the return page and the webhook arrive together.

Payment holds

When a guest chooses card or PayPal, the room is held for the payment time you set on the General tab (30 minutes by default) while the guest pays. Nobody else can book those nights during the hold. If the payment does not arrive in time, a job that runs every five minutes releases the nights and marks the booking as expired; the guest’s page then says that the time ran out. If a payment still arrives later and the nights are free, the booking is confirmed; if someone else booked them meanwhile, the booking is marked Needs attention and you get an e-mail so you can contact the guest or offer another room.

Holds also need protection from abuse: someone could otherwise start bookings without paying, again and again, until every room looks taken. So one connection can have at most three unpaid bookings open at a time, one guest e-mail address the same, and a connection can try to book ten times per hour. A guest over the limit sees a short message asking them to finish an open booking, try again later or contact you. Staff bookings and payments are never limited, and developers can change the numbers with filters (gewsb_max_open_holds_per_ip, gewsb_max_open_holds_per_email, gewsb_booking_attempts_per_hour). Addresses are only stored as a keyed hash.

One booking per room and night

Each booked night of each room is stored once, and the database refuses a second entry for the same room and night. Taking a room is a single database statement that either gets every night of the stay or none, so two guests pressing Book at the same second can never end up in the same room: one gets it, the other sees that it was just booked and can choose other dates. The same applies to nights blocked by calendar sync and to bookings your staff add.

Calendar sync (iCal)

Every room has its own export address in the accommodation editor. Give it to the other sites where you list the room, so they block the nights booked on your site. The feed lists booked nights as all-day events with the booking reference only, never guest names or contact details, and the address contains a secret key.

Paste the calendar addresses of the other sites under Import addresses, one per line, up to five per room. They are read every hour, and right away when you tick Sync the imported calendars when I save. Imported nights block that room on your site and show as striped bars on the admin calendar. Only http and https addresses are accepted, and they are fetched with WordPress’s safe request functions, which refuse local network addresses. When an imported stay overlaps a booking made on your site, both are kept and the sync result tells you about the conflict.

E-mails

Guests get an e-mail when a pay-at-the-property request is received, when the booking is confirmed (with the balance due and a link to their booking page), when a later payment is received and when a booking is cancelled. You get one for every new booking and for every booking that needs attention. Set the address for booking notices, the sender name and a footer with your address and phone on the E-mails tab, and switch off any e-mail you do not want. The plugin sends through WordPress, so any mail plugin you use for delivery works with it.

The admin: bookings, booking page and calendar

Bookings lists every booking with its reference, guest, accommodation and room, dates, guests, total, paid amount and status, with filters for status, payment, accommodation, dates and a search by reference, name or e-mail. Add booking lets staff enter a booking taken by phone or at the desk.

Open a booking to see the stay, the guest, every price line, the payments with their Stripe or PayPal references, and the history. The actions depend on the status: confirm a pending booking, record a payment, send the confirmation e-mail again, cancel (the nights become free and the guest is told) or re-open a cancelled booking while its nights are still free. Refunds are made in your Stripe or PayPal dashboard.

One booking in the admin: stay and guest details, the price lines with total, paid and balance due, the payments with their gateway references, the actions and the booking history
A booking with its price, payments, actions and history.

The Calendar shows a month at a time: one row per room, grouped by accommodation, and one column per day. Bookings are bars with the reference and guest name, coloured by status, and link to the booking page; nights blocked by calendar sync are striped.

The admin booking calendar: one row per room grouped by accommodation, the days of the month as columns and coloured bars for confirmed, pending and held bookings with the reference and guest name
Every room and night of the month on one screen.

How it differs

  • Built so a room cannot be booked twice for the same night: the database decides, not a check that two requests can both pass.
  • A payment counts only after the gateway confirms it and the amount matches the booking: the price the guest sees, the amount sent to Stripe or PayPal and the amount stored are the same number.
  • No outside script on your pages: card and PayPal payments happen on the providers’ own pages, and the booking pages load one small script without jQuery.
  • Calendar feeds with no guest details, fetched from http and https addresses only.
  • One capability for the whole booking admin, so front-desk staff get exactly what they need.

Privacy and data

Bookings store the guest’s name, e-mail, phone, country and requests in the plugin’s own tables. Guest booking pages are reached with a secret link and are kept out of search engines. When you delete the plugin from the Plugins screen, its tables, accommodations, settings and license data are removed, unless you tick Keep bookings, accommodations and settings on the General tab; deactivating never removes anything. Photos stay in your media library.

Frequently asked questions

Does it need Gravity Forms or WooCommerce? No. It is a standalone WordPress plugin with its own booking form and checkout.

Read the full setup guide any time, or get GravityExtra Stay Booking and take your first direct booking today.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr