Code

Discussion on RnB - WooCommerce Booking & Rental Plugin

Discussion on RnB - WooCommerce Booking & Rental Plugin

Cart 12,396 sales
Recently Updated

redqteam supports this item

Supported

This author's response time can be up to 1 business day.

3131 comments found.

blends1

blends1 Purchased

:::writing{id=“58215” variant=“email” subject=“Fatal error in WooCommerce Booking & Rental System on rnb-order page”}

Hello, We are experiencing a 500 error on the following admin page: /wp-admin/admin.php?page=rnb-order

After checking the issue, it appears to be caused by the plugin WooCommerce Booking & Rental System (version 18.0.3).

Error details:

File: wp-content/plugins/woocommerce-rental-and-booking/includes/Utils/data-provider.php

Line: 1183

Error message: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_billing_first_name()

The stack trace also references:

includes/Traits/Rental_Data_Trait.php

includes/Admin/OrderTable.php

includes/Admin/AdminPage.php

It seems the plugin is trying to handle an OrderRefund object as if it were a regular WooCommerce order, which causes the fatal error on the rnb-order admin page.

Could you please verify whether there is a patch, fix, or updated version compatible with the current WooCommerce installation?

Thank you.

Hi Please open a support ticket and our technical support team will assist you.

Matjheu

Matjheu Purchased

Can you still resolve the comment below regarding the calendar error?

Hi Please open a support ticket and our technical support team will assist you.

Matjheu

Matjheu Purchased

Hello,

After updating WooCommerce Rental and Booking to the latest version, my website is throwing a fatal PHP error in the admin.

Because of this error the calendar/agenda no longer loads, which means I cannot see reservations.

Error log: [16-Mar-2026 22:03:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_billing_first_name() in /wp-content/plugins/woocommerce-rental-and-booking/includes/Utils/data-provider.php:1183 Stack trace: #0 /wp-content/plugins/woocommerce-rental-and-booking/includes/Traits/Rental_Data_Trait.php(24): rnb_customer_name() #1 /wp-content/plugins/woocommerce-rental-and-booking/includes/Integrations/FullCalendarIntegration.php(169): REDQ_RnB\Integration\FullCalendarIntegration->get_rental_data_by_order_id() #2 /wp-content/plugins/woocommerce-rental-and-booking/includes/Integrations/FullCalendarIntegration.php(77): REDQ_RnB\Integration\FullCalendarIntegration->prepare_calendar_items() #3 /wp-content/plugins/woocommerce-rental-and-booking/includes/Integrations/FullCalendarIntegration.php(57): REDQ_RnB\Integration\FullCalendarIntegration->rnb_prepare_calendar_data() #4 /wp-includes/class-wp-hook.php(341): REDQ_RnB\Integration\FullCalendarIntegration->register_assets() #5 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #6 /wp-includes/plugin.php(522): WP_Hook->do_action() #7 /wp-admin/admin-header.php(123): do_action() #8 /wp-admin/admin.php(244): require_once(...) #9 {main} thrown in /wp-content/plugins/woocommerce-rental-and-booking/includes/Utils/data-provider.php on line 1183

It appears the plugin is trying to call get_billing_first_name() on an OrderRefund object, which does not contain that method.

Because of this the calendar integration crashes and reservations cannot be viewed.

Could you please investigate this as soon as possible? This issue started immediately after updating the plugin.

Thank you.

Matjheu

Matjheu Purchased

Update / temporary fix:

I found that the issue happens because WooCommerce sometimes passes an object of the class:

Automattic\WooCommerce\Admin\Overrides\OrderRefund

This object does not contain billing methods such as:

  • get_billing_first_name()
  • get_billing_last_name()
  • get_billing_company()

Because of this the function `rnb_customer_name()` in `/wp-content/plugins/woocommerce-rental-and-booking/includes/Utils/data-provider.php` throws a fatal error.

Original code:

function rnb_customer_name($order) { $buyer = ’’; if ($order->get_billing_first_name() || $order->get_billing_last_name()) { /* translators: 1: first name 2: last name */ $buyer = trim(sprintf(_x(‘%1$s %2$s’, ‘full name’, ‘redq-rental’), $order->get_billing_first_name(), $order->get_billing_last_name())); } elseif ($order->get_billing_company()) { $buyer = trim($order->get_billing_company()); } elseif ($order->get_customer_id()) { $user = get_user_by(‘id’, $order->get_customer_id()); $buyer = ucwords($user->display_name); } }

$buyer = apply_filters('woocommerce_admin_order_buyer_name', $buyer, $order);
return $buyer;

Temporary fix:

function rnb_customer_name($order) { $buyer = ’’; }

// If an ID was passed, try to load the order object.
if ( ! is_object( $order ) ) {
    if ( is_numeric( $order ) ) {
        $order = wc_get_order( intval( $order ) );
        if ( ! $order ) {
            return $buyer;
        }
    } else {
        return $buyer;
    }
}
// If this is a refund override object, skip it — refunds don't represent reservations.
if ( $order instanceof \Automattic\WooCommerce\Admin\Overrides\OrderRefund ) {
    return $buyer;
}
// If object does not implement billing getters, try to use parent order.
if ( is_object( $order ) && ! method_exists( $order, 'get_billing_first_name' ) ) {
    if ( method_exists( $order, 'get_parent_id' ) ) {
        $parent_id = $order->get_parent_id();
        $parent_order = ( $parent_id ? wc_get_order( $parent_id ) : false );
        if ( $parent_order && method_exists( $parent_order, 'get_billing_first_name' ) ) {
            $order = $parent_order;
        } else {
            return $buyer;
        }
    } else {
        return $buyer;
    }
}
// Read billing fields only if the methods exist.
$first = method_exists( $order, 'get_billing_first_name' ) ? $order->get_billing_first_name() : '';
$last  = method_exists( $order, 'get_billing_last_name' )  ? $order->get_billing_last_name()  : '';
$company = method_exists( $order, 'get_billing_company' ) ? $order->get_billing_company() : '';
if ( $first || $last ) {
    $buyer = trim( sprintf( _x( '%1$s %2$s', 'full name', 'redq-rental-booking' ), $first, $last ) );
} elseif ( $company ) {
    $buyer = trim( $company );
} elseif ( method_exists( $order, 'get_customer_id' ) && $order->get_customer_id() ) {
    $user = get_user_by( 'id', $order->get_customer_id() );
    $buyer = $user ? ucwords( $user->display_name ) : '';
}
$buyer = apply_filters( 'woocommerce_admin_order_buyer_name', $buyer, $order );
return $buyer;

After applying this change the calendar loads again and reservations are visible.

Could you please include a proper fix for this in the next plugin update so it is compatible with newer WooCommerce versions?

Thank you.

Matjheu

Matjheu Purchased

Additional question regarding Google Calendar sync:

During the time the fatal error occurred, several reservations were created successfully in WooCommerce but were not sent to Google Calendar.

In my case there were about 7 orders placed while the error was active, and those reservations are missing in the Google Calendar even though they exist in WooCommerce.

Since the plugin only syncs new or updated bookings automatically, these existing reservations are currently not being pushed to the calendar.

Is there a way to force a manual re-sync of existing bookings to Google Calendar?

For example, something like: • a “Sync / Rebuild Calendar” button • or a tool that recreates Google Calendar events from existing WooCommerce orders

This would be very helpful in situations where synchronization fails due to an error.

Thank you.

Hi Please open a support ticket and our technical support team will assist you.

Hello, I like your plugin and want to buy, the only thing seems missing is route based pricing.

is there a way I can set route based pricing. Let’s say based on pickup and drop off locations price changes based on what we set in the backend.

like airport in city A to hotel in city A (1 price), airport in city A to hotel in city B (another price) and so on.

Hi Unfortunately that is not possible and will require additional code customization.

Thanks for replying I’ll check if anything similar available, if not I’ll buy and do customization

Hello, I have a question before purchasing your plugin. Is it possible to activate the calendar to mark start and end times without changing inputs, so that it appears on the same calendar?.

Thanks

Hi We are not fully clear about your query. Can you explain it with an example?

Hello, I have a bicycle rental business and my customers tend to book multiple same-model bicycle at once. Does your plugin support same product multiple item booking at the same time?

H Please check out the below link https://rnb.redq.io/shop/concrete-drill-machine/

once you select the date and time you will notice a quantity filed will appear and you will be able to increase the quantity if available

Thank you so much for your prompt replies!!

Just a final check: I’m planning to build a multilingual website using WPML.

Does the plugin support inventory sync of the same “vehicle” between multiple languages?

Hi Yes, we do have WPML support

The newest version is supposed to be “v18.0.8 – 17 January 2026” but when I download the file, it says is “Version: 18.0.3”

Hi When you download the file please ensure your download all files.

can you add filters to the Inventories page, such as ability to filter by Category, Resouces, Person ect….

Also, do you have more reporting options, that can show a list, and be filtered by product with the dates booked

i dont need search and filter plugin, i want to filter on the Categories on the ALL INVENTORIES page on the backend.

Hi As stated before, we do not have search functionalities on our plugin. It will require additional code customization. Please open a support ticket and our technical support team will assist you.

Hi, I’m evaluating your solution for a boat rental project and I’d like to confirm a couple of key functionalities before purchasing.

1. Booking flow (availability-first) Is it possible to configure the booking process so that the customer: • first selects a date (or date range), and • in the next step sees only the boats available for that selected date, • then chooses one of the available boats and completes the booking?

In other words, does the plugin support a date-first → available resources flow, rather than selecting the product first and then checking availability?

2. Stripe payments (deposit or delayed charge) Regarding Stripe integration, I would like to understand what payment options are supported:

Is it possible to charge a deposit (partial payment) at booking time and collect the remaining balance on the rental day?

Alternatively, does the plugin support saving the customer’s card details via Stripe (card on file) and charging 100% of the amount on the rental day (e.g. for no-show or delayed payment), using manual capture or a similar mechanism?

Thank you in advance for the clarification. Best regards,

Hi 1. you can have a look at our turbo theme which has the inspect search plugin and this plugin. https://themeforest.net/item/turbo-car-rental-system-wordpress-theme/17156768 2.Payment gateway is woocommerce dependant and woocommcerc does support stripe. And yes you can plugin supports partial payment. Customers card detail saving depends on the stripe plugin you are using.

Can we set the pickup and dropoff time per location? Example Location A (pickup) is open from 10.00 till 16.00. When selecting Location A for pickup, those are the only pickup times offered. For the DropOff location B is open from 9.00 till 13.00. Those times should only be able to select for the dropoff if location B is selected. Is that possible?

Hi Unfortunately that is not possible and will require additional code customization.

Hello, I’m interested in purchasing your plugin, but I’d like to confirm if it meets my requirements:

I have 11 tours, and each tour needs to have its own price depending on the person. For example, men $72 USD, children $40 USD. Each tour has its own price, and as in the example, the price varies depending on the person. Is it possible to configure all of this? Also, each tour has 86 daily slots. Can this be configured in the same way? The customer arrives, selects adults, children, day, and time, and the system charges via WooCommerce. Is all of this possible? Thank you.

Thank you for your response. Which of the functions I mentioned cannot be performed?

Hi We will need to have full detailed requirements. Without full detailed requirements, we can not confirm it. But from looking at your requirements it will require quite a lot of customization.

New WooCommerce update seems to have broken the payable service preview – it won’t display at all for request services.

Hello – please preview this page link – the calendar is not working properly anymore either. I am unable to select my time slots and there is a time already activated in the calendar area that is unwanted. This was all working previously. You’ll also see what I’m referring to regarding the payable service preview.

Hi We have checked and did not find any such issues. Can you please open a support ticket with details like screenshot or video of the issue so we can check.

My apologies for the delay, the holiday took us out of pocket. I will be submitting a help ticket today. Thank you!

Book now button in hotel demo is deactivated – is it possible to let the user check out directly through the woocommerce checkout? please offer us a demo account, so we can play around and discover, if rnb is the right solution for us.

Hi Unfortunately, that is not possible.

I am working on a bus company website, and I wanted to include online ticket bookings for our fleet. Is this something I can use this plugin for?

Hi It depends on your business needs. If our plugin features are sufficient for your business, then you can use it. Otherwise, it will require additional code customization.

Hi, install the plugin on a project and get this error on the products page and can’t add any inventory to the produtc. Sorry! rnb_inventory_product table doesn’t exist

Just extend support but still can’t place a ticket. Sorry, support for this Envato Market purchase code has expired. You will need to extend support or purchase a new license.

Hi when will you reply to our message?

Hi can you please provide us with some screenshot of the issue

Crive

Crive Purchased

Hi,

great module – helped our client well https://smartbiking.be

I found a small ‘bug’ I disabled show Hours, however, (only) when we choose today to start from, it does show the hours as well. also, would be great if it had classes arround it, so i could hide it (the hours only) thru css

thank you kind regards Christophe

Hi From the back end of the woocommerce settings>rnb settings> condition tab you can set it

Crive

Crive Purchased

single day booking is enabled “Pay Extra Hours” was set to yes, now to no

ok, great, now the hours are not shown anymore when selected the current day, thank you!

kind regards

Hi You are welcome.

I am looking at documentation. Is there any tutorial on how to do office space rental setup? I saw the demo website for office space or AirBnb type rental

Hi If you open a support ticket and refer which demo you want to do the setup like, then our technical support team will assist you

Hi, I urgently need to cancel a license today to get a refund. On your website (https://redqsupport.ticksy.com/) I try to open a ticket but in the list of products to select I don’t see “WooCommerce Booking & Rental Plugin” so I can’t open the official ticket. I ask to be able to proceed with a refund from this moment. Thanks so much

Hi Please check the below screenshot select the RNB

https://prnt.sc/4G_KJiQ0LNsy

How to make calendar select checkout date after the check in… it’s not a illegal version, I have Licence code, but it;s a big bug in your seastem

I mean… check in is tomorrow… the next field shows me today. I’m wondering if I should go with Jet Booking instead of you? Eaven AI says, that’s very buggy system. We have legal license https://gopark.lt/

I didn’t buy it… programmer disappeared… we have just licensed and can update and it’s updated… so please, don’t send me support tickets or other shit…

Hi Sorry, but we are not clear about your issue. Can you please explain a bit more about what issues you are facing?

Whats the best way to export all data from your plugin? Want to take over into an other WP installation..

Hi We do have export feature that you can use for data export

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey