Setting/propertiesbookingreturnurl

From Beds24 Wiki
Revision as of 01:32, 19 May 2021 by Weins (talk | contribs) (1 revision imported)
Jump to navigation Jump to search

If set this page will be shown instead of the booking confirmation page.

The url must start with either http:// or https:// and resolve to your custom booking confirmation page.

Details of the booking are passed as parameters added to the URL.

How you pass the parameters to your web site depends on the scripting language your page uses. For example PHP can read the values from the URL and display them anywhere on your page using the $_GET variable https://www.php.net/manual/en/reserved.variables.get.php

Example:

https://www.mywebsite.com/?bookid=11804536&propid=3103&roomid=6027&roomname=Double+Room&propname=Sunny+Hotel&status=2&firstnight=2019-05-02&lastnight=2019-05-02&checkout=2019-05-03&numnight=1&numadult=1&numchild=0&lang=en&price=720.00&confirmtype=0&qty=1&pricenum=1&referer=website

General information from the booking:

bookid = unique booking number

propid = Id of the property the guest booked

roomid = Id of the room the guest booked

roomname = name of the room the guest booked

propname = name of the property the guest booked

status - 3 being on request and 1 or 2 being confirmed

firstnight = arrival date

lastnight = last stay date

checkout = leaving date

numnight = number of nights booked

numadult = number of adults coming

numchild = number of children coming

lang = the language whhich the guest choose

price = the price of the booking

confirmtype =

qty = number of rooms booked

pricenum = the offer the guest booked

referer = the referrer code

ratedesc = your rate descriptions


Booking questions (for example):


guestname

guestfirstname

guesttitle

guestemail

guestphone

guestmobile

guestaddress

guestarrivaltime

guestcomments