Booking offset calculation

Let’s say a vendor has set their booking offset as 2 days. If a user Requests a Booking on the evening of the 27th for the 29th. They will receive an error that says “The start date can’t be earlier than December 30, 2023.” So, the question is why can the 29th be selected in the first place? The booking timezones are set appropriately.

Please let me know if you use time-based or day-based bookings. The date picker uses the browser’s time zone by default when calculating the offset period.

Time based bookings. I have the booking timezone set for each vendor. If the browser time is say 7:00pm as an example, it will still allow selecting a time that should not be available due to the offset setting. Ultimately, leading to the error after the booking form is completed and attempted to have been submitted.

Hi,

We checked this issue from our side, and it seems okay. Please read this document for a detailed description of how these features work: How to add booking restrictions - HivePress Help Center. If the function does not work as described in the document, please provide more details regarding this issue (e.g., your actions step by step with screenshots, etc.). This will help us to reproduce and resolve the issue faster.

I will use the provided description of how the features work to fully describe what is happening.
" * Booking Offset - set how many days before the booking date user need to make a booking (e.g., the value is set to 5 days, then if today’s date is the 1st of the month, booking can only be made starting from the 6th day of the month);"

If the booking offset is set to 5 days, the last available booking time is 5:00pm and todays date is the 1st of month. I’m a user and my browser time is 11:00am on the 1st of the month. If I look at the booking request block, on the drop down menu of available dates and times shows available time slots on the 6th as intended and I can request the booking for the 6th. But, if its evening or night time when I request the booking I will get the error.

Hi,

We checked this issue from our side, and it seems okay. Please provide more details on what kind of error you are seeing. Also, please provide more details regarding this issue (e.g., your actions step by step with screenshots, etc.). This will help us to reproduce and resolve the issue faster.

If I set the Booking Offset to 1 day. And I set the Booking Expiration (for pending bookings, correct?) to 1 day. How can I make pending bookings that have not been confirmed or declined, automatically delete by their booking time, instead of the 1 day window. Because currently, they will remain in their pending status, even though their booking time has already passed.

Hi,

There doesn’t seem to be a solution for the use case when the offset is equal to the pending time, because when the booking is unpaid, the pending will overtake the booking start time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.