In order to be able to use the
Tesipro integration, you need an intermediate server that will streamline the communication between
For that reason, it is advisable to install the web server on the same server where the
Tesipro program is stored.
Revo back office configuration
Open the terminal of the windows in the
Tesiproserver and check the computer ip with the command
Connect to the client's back office and add the
- In url type
- Optionally, you can enter the VAT discount you want to apply in
Tax deduction. For example, to save a dish costing € 10 in all without 4.5% VAT, enter
4.5in the Tax deduction field . Then it will be saved at a cost of
10/1,045, that is,
- In url type
Once the integration is set up, go to
configuration -> payment methodsand create a payment method with the name
Tesipro server configuration
- Run the
- Follow the steps of the installation until finished.
- Copy the file php_dbase.dll to the path
C:/xampp/php/ext/(The file is in the downloaded zip of the intermediate application)
Open the XAMPP control panel
From the windows start button search for the
xampp control panel program and open it.
The system displays the following menu:
Click the setup button next to Apache. This will open a file
C:/xampp/php/php.ini with a text editor. Then, go down to the end of it and add the following lines:
Add our php integration to the XAMPP server
- Copy the Tesipro directory inside the path
- Edit the file
'tesipro' => [ 'path' => '<pathToDbaseStorage>' ]
and where it reads
<pathToDbaseStorage>, substitute the folder where the customer saves the dbase files, for example:
Check that the names of the MAJCARGO and MAJHABIT files match those defined below the path.
Auto startup XAMPP
To set up the XAMPP server in order to have it start automatically when the PC is turned on, proceed with the following steps:
- Copy the file
C:\Documents and Settings\Administrator\Start Menu\Programs\Startup.
- With this, when the computer restarts, your service will start automatically. If it is not possible to restart the server, click the
startbutton next to Apache in the
xampp control paneland minimize the App.
Check the correct operation
Open the browser and access
If you get an error message, it means you have set up something wrong.
Tesipro allows you to add a concept to the charges.
Revo will ask which concept you want to apply by default to any charge* when selecting the room; however, you can automate the process through profiles. Then, you can select the concept automatically, according to the profile name.
This can be useful in cases where there are different rooms and each one always applies the same concept.
To that end:
- Create a profile with the
- On the device, select the profile with the charge you wish to apply.
* The available charges are defined in the
C:/xampp/htdocs/tesipro/config/concepts file, in a list such as the following:
[ "CAFM" => "BAR /CAFETERIA", "MOOA" => "ROCA MOO", "OMMS" => "OMM SESSION", "RSA" => "ROOM SERVICE", "DEX" => "BREAKFAST", "BARP" => "TERRACE", "AMOO" => "ROCA BAR", "OMMS" => "OMM SESSION 2" ];
Here, you can write the concepts needed by the integration (always respecting the double quotes ("") and the comma at the end of line, except in the last one).