Index
Introduction
This plugin carries out an integration between Golfmanager V1 and HConnect. When online reservation payments are generated, information about the reservation, the client and the amount paid is sent.
What is HConnect?
The hconnect Hospitality Integration Platform is an Integration Platform as a Service (iPaaS) that helps hoteliers optimize their operations by integrating their existing systems and applications. It provides a universal API to connect disparate systems and facilitate data exchange, allowing hotels to better leverage their technology investments. With hconnect, hoteliers can improve operational efficiency by synchronizing information between different platforms, such as hotel management systems, reservation tools, payment systems and more.
Configuration
After installing the plugin, in the configuration menu, the following form appears. We have fields for both production mode and testing mode. In the API field we indicate the URL where we will send the data. In the X-Api-Key field we indicate the x-api-key, a form of authentication. Both data are provided by Hconnect. The x-api-key fields will be encrypted to provide greater security. When the integration has been tested and validated, you can move to production mode by checking the checkbox. The code will choose production or test values depending on whether this box is checked or not.
Transactions
In the transactions we will see all the transactions carried out. We will see the date of the transaction, the reference of the reservation, if it was made in production mode or not, if the transaction was successful and a JSON of the request in case more information was needed , to check whether or not the error is in the body of the request.
Use cases
Golfmanager considers that a reservation for two people are different reservations even if they share the same reference. When the information is sent to HConnect, that reference and the cost of all your reservations are sent as if it were a single one. On the other hand, when making two reservations for two different days and therefore with different references, even if both are paid at the same time, Two transactions will be sent to Hconnect, each with the amount corresponding to your reservations.
Functioning
When payments occur, the Hconnect plugin checks if they are online booking payments. If so, it processes the necessary data and sends it to Hconnect. Whether the connection is successful or not, the result of the transaction is saved in the database.