Difference between revisions of "Setting/propertiesbookingreturnurl"

From Beds24 Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
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 confirmation page.
+
For example:
  
The parameter '''status''' represents the status of the booking, 3 being on request and 1 or 2 being confirmed
+
<nowiki>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</nowiki>
 +
 
 +
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

Revision as of 13:43, 2 May 2019

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.

For 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