[[Category:Error Messages from Channels]]
[[Category:Set up Instructions]]
[[Category:Troubleshooting]]<div class="heading">Ctrip & Trip</div> ''Synchronising Beds24.com This page is about the menu {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > CTRIP and explains how the connection with Ctripworks and how to set it up.
===General===
*[[:Category:Channel Manager|Click here]] for general information on how the channel manager works.
=== Capabilities ===
*Beds24.com can *export inventory.*Beds24.com can export multiple rates.*Beds24.com can export minimum stay*export maximum stay*send check-in not allowed*send check-out not allowed*import bookings.*Beds24.com can import booking cancellations.*Importing - importing cancellations can be disabled for individual bookings.
For details please [[Channel_Manager_Capabilities|click here]]
=== Limitations ===
*Only bookings made after the connection is established will be imported, existing bookings must be manually entered into Beds24 to block the dates.
== Before you connect ==
'''Prices'''
*We can only send availability if you have set up prices which are activated for this channel. This tutorial gives general information how to [[Setting_Prices_for_Booking_Channels|set prices for channels]].
*One room price per Ctrip rate plan code can be sent.
*Prices for "Extra Person", "Extra child" and discounts set in the "Discounts" tab of the rates can not be sent.
*If you use daily prices with "Extra Person" prices your daily price needs to be set for the max occupancy and the "Extra Person" price needs to be added with a negative value so the price for the full occupancy can send.
'''Bookings'''
New Bookings are imported. Cancellations to bookings are also imported.
Existing bookings are not automatically imported when the connection is established and should be entered into Beds24 manually.
'''Extras and Taxes'''
"Upsell Items" can not be exported.
'''Rooms and room types'''
If you sell rooms individually at another channel or your own web site and want to sell them here as a "roomtype" with a quantity of more than one you can [[Combine_individual_rooms_into_a_roomtype|set up virtual roooms]].
=== What you will need ===
=== Set Up===
====Ctrip====
You request a connection
with to Beds24 channel manager from your Ctrip market manager. If you do not know who your Ctrip market manager is contact
hwywyzz@Ctrip
.com and cc [email protected] support instead. After Ctrip has set the connection up you can start setting it up in Beds24.
====Beds24====
*Enter your Ctrip hotel id
*Set the currency. If you are using different currencies on Ctrip and on Beds24 you can use the price multiplier (see below)
*Choose the Payment Collect method. This defines weather whether Ctrip collect the payment from the guest or the guest pays a the hotel.*Set weather whether breakfast is included in the price or not. [[Image:ctrip_setting.png|500px|link=]][[Media:ctrip_setting.png|view large]]
'''Mapping'''
A ==Prices==|| Only one price for Single (1 guest), Double (2 guests) and a room price (for the number of guests you have defined in the rate ) can be sentper rate code. If you have more than 3 occupancy levels you can set up additional rates in Beds24 multiple prices for each occupancy level using the room price and the number of guests it is appropriate one rate code which are activated for and map them in the channel settings of the rate or system will use the daily pricefor the highest occupancy.
*If you use daily prices you can set the rate code under "Enable" in the Daily Price settings (SETTINGS- >PROPERTIES- >ROOMS- >DAILY PRICES then click on "Edit)
*If you use rates go to the "Channels" tab of the rate.
Ctrip can set up multiple rate plan codes for each room, each with pre-defined booking conditions. Beds24 can map a different Beds24 or daily price to each Ctrip plan code. [[Setting_Prices_for_Booking_Channels#Mapping_channel_rate_codes|Please use these instructions]].
Because Ctrip does not use room codes, we need to know all the rate plan codes that are possible to be booked for each room so we can import bookings to the correct room.
If you have a dorm on Ctrip and you use rates set a "Room Price" with the max capacity of 1.
'''Breakfast'''
[[Media:ctrip_breakfast.png|view large]]
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Click on the "View Actual Data" Button to check which prices and availability will send. Prices that had already been set in HRS be overridden but cannot be removed. If no prices have are sent from Beds24, no availability is sent, but the which originally was in HRS is displayed.
'''Payment collection'''
[[Image:ctrip_activation.png|500px|link=]]
[[Media:ctrip_ativation.png|view large]]
===Bookings===
New Bookings are imported. Cancellations to bookings are also imported.
Existing bookings are not automatically imported when the connection is established and should be entered into Beds24 manually.
=== Price Multiplier ===
For example a hotel id setting 123456*12.34 will multiply all prices by 12.34 sent for hotel id 123456.
You can also use currency conversion template variable. All currencies supported by the booking page currency selector can be used.
For example *[CONVERT:IDR-EUR] will convert Indonesian Rupees to Euros.
== Check Connection ==
The connection is working if you are not receiving error messages and the display in the channel is correct. If you are receiving error messages check in the "Common Errors" section why you are receiving the error and how to fix it.
== Updates ==
Changes to availability and prices will be instantly sent to the channel. Changes for settings for example number of rooms will send with the next update. Click on "Update" if you want to push them through instantly.
==Virtual Credit Cards ==
Virtual cards can be set to be auto charged at the date they become valid. To use this option set "Auto Process Virtual Cards" = Yes
Virtual cards can be set to be auto charged at the date they become valid.
<div class="warning">{{#fas:exclamation-triangle}} This option is available for customers who use [[Stripe|Stripe]]. If you set "Virtual Cards" = Yes without Stripe activated the system will create a pending payment which can not be collected.</div>
If you manually charge virtual credit cards please note that they can only be charged on the check-out date.
== Notes ==
Any errors occurring during updates will be emailed to you with the error message as returned by Ctrip. Below are common error messages and how to fix them.
'''Error ShortText="This hotel is not active in Ctrip, please wait." Code="375"'''
*Check the Ctrip hotel id you have entered is correct and does not have blank spaces.
*If it is please check contact Ctrip and ask them to check if they have enabled the connection with Beds24 channel manager.
'''Mismatched payment type. The rate is updated according to the payment type set in Ctrip system, if any question please contact Ctrip. '''
Your setting for "Payment Collect" is wrong. You need to change it.
==Disconnect==
*Unticking "Inventory" and "Prices" and "Bookings" will stop the synchronisation for a room.
*To completely disconnect the channel manager you might need to contact Ctrip and ask them to disconnect you.