[[Category:Channel Manager]]
[[Category:Error Messages from Channels]]
[[Category:Set up InstructionsTroubleshooting]]<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]]
== 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 Fixed Prices 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.
*A 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 sent'''Bookings''' New Bookings are imported. Cancellations to bookings are also imported. If you have more than 3 occupancy levels you can set up additional rates in Beds24 for each occupancy level using Existing bookings are not automatically imported when the room price and the number of guests it connection is appropriate for established and map them in the channel settings of the rate or the daily price. *Prices for "Extra Person", "Extra child" and discounts set in the "Discounts" tab of the rates can not should be sententered into Beds24 manually.
'''Extras and Taxes'''
'''Rooms and room types'''
If you sell rooms individually at a another channel like Airbnb or your own web site and want to sell them on Expedia 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 at the hotel.*Set weather whether breakfast is included in the price or not.
'''Mapping'''
<embedvideo service="youtube">http://www.youtube.com/watch?v=mjAOFouk-Ic</embedvideo>
==Prices==
Only one price can be sent per rate code. If you have multiple prices for one rate code which are activated for the channel the system will use the price for the highest occupancy.
A 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 sent. *If you have more than 3 occupancy levels use Daily Prices you can set up additional rates in Beds24 for each occupancy level using the room price and the number of guests it is appropriate for and map them rate code under "Enable" in the channel Daily Price settings (SETTINGS- >PROPERTIES- >ROOMS- >DAILY PRICES then click on "Edit)*If you use Fixed Prices go to the "Channels" tab of the rate or the daily priceFixed Price.
*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.
==Multiple Rates at Ctrip==
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 Fixed Prices set a "Room Price" with the max capacity of 1.
'''Breakfast'''
You can set if breakfast included or not. If you want to offer different prices with and without breakfast map your most common option in the channel manager settings.
You can specify the other price option in the channel manger settings of the daily price Daily Price or the rate Fixed Price by adding this information to the Ctrip rate code.
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 Fixed Prices go to the "Channels" tab of the rateFixed Price.
*add /b if breakfast is included for the maximum number of guests the breakfast is included for
[[Media:ctrip_breakfast.png|view large]]
<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span> Click on the "View Actual Data" Button to check which prices and availability will send.
'''Payment collection'''
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 Fixed Prices go to the "Channels" tab of the rateFixed Price.
*/c = Ctrip collect
*/h = hotel collect
Example: Rate Fixed Price applies for Ctrip collect
[[Image:ctrip_collect.png|500px|link=]]
[[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.
Examples:*'''123456*1.23''' will multiply all prices for property 123456 by 1.23 (i.e. raised by 23%).*Lower prices can be sent with a multiplier less than 1: '''123456*0.85''' will send 85% of the normal price (i.e. lowered by 15%) for property 123456.*To convert the price of bookings imported from the channel add a '''*''' AFTER the multiplier. '''123456*1.23*''' will divide the price of the booking by 1.23 for property 123456.*For example currency conversion you can also use currency conversion template variables. All currencies supported by the booking page currency selector can be used.**'''123456*[CONVERT:IDR-EUR]''' will convert Indonesian Rupees to Euros.**'''123456*[CONVERT:IDR-EUR] [/]0.85''' will convert Indonesian Rupees to Eurosand lower the price by 15%. == 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. ==Different invoice templates ==If you need a different invoice template for the bookings from this channel you can use the [[Invoicees|invoicee]] function.
== 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.
'''Inactive rate plan for restriction or rate updated'
You are sending a wrong rate plan id. Check your rate plan ids in SETTINGS->CHANNEL MANAGER-> CTRIP and in the "Channels" tab of your rates/daily prices. Please use the function 'get codes' and only use the rate ids from the drop-down list.
==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.