Setting/propertiesbookingreturnurl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If set this page will be shown instead of the beds24.com booking confirmation page.
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.
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
Details of the booking are passed as parameters added to the URL.


The parameter 'confirmtype' will return a number representing the Confirmation Message type which would have been shown on the Beds24 confirmation page.
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
The parameter 'status' represents the status of the booking, 3 being on request and 1 or 2 being confirmed
 
Example:
 
<code>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</code>
 
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