Glory¶
Glory cash machines enable the automation of cash transactions.
Note
The integration with the Glory cash machine only supports basic functions, such as cash transactions and cash count checks.
Tasks like filling and emptying the machine must be performed directly through the cash machine interface.
Configuration¶
Cash machine settings¶
Power on the cash machine, which briefly displays its IP address at the bottom of the screen. Note it down for later.
Note
The IP address should be formatted as
###.###.#.##(e.g.,192.168.0.25).Navigate to the cash machine’s homepage by entering its IP address as the URL in
HTTPS(e.g.,https://192.168.0.25), and log in with your Glory credentials.As long as the certificate is not imported, a warning page appears when trying to access the machine’s homepage. Bypass it by clicking Advanced and then Proceed to [IP address] (unsafe).
From the Glory homepage, go to Host Configuration and ensure the Network setting is set to MANUAL, meaning the IP address is static.
Then, navigate to SSL Configuration and scroll down to the HTTPS Server Setting section.
In parallel, open the terminal and verify that OpenSSL is installed. Type
openssland press enter. If installed, this command displays ahelpmenu listing all available OpenSSL commands. If nothing happens, install it.Then, paste the following command and press
Enterto generate and download the certificate and private key. Ensure that you replace the demo IP address with the cash machine’s actual IP address.openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/CN=192.168.0.25" -addext "subjectAltName = IP:192.168.0.25"
Important
The self-signed SSL certificate and key pair must use the same static IP address as the cash machine.
Once the files are generated, from the HTTPS Server Setting section, upload
cert.pemas the Certificate andkey.pemas the Private Key.Go to WebApp Configuration and ensure the Interface setting from the A: Nodejs Setting section is set to Enable.
Then, adjust the following settings depending on the POS setup:
If multiple POS are connected to the same cash machine, go to App Configuration, scroll down to the SOAP IF Setting, and ensure Session mode and Occupy mode are both set to Enable.
If a dedicated user has been set up on the cash machine for Odoo, go to App Configuration, scroll down to the SOAP IF Setting section, and Enable the User check setting.
Restart the cash machine to apply the new settings.
Note
As this setup is complex and may involve advanced knowledge of Glory hardware, it is advisable to consult the Glory integration partner for configuration if there is any uncertainty.
Import self-signed certificates¶
For a long-term solution, the generated certificates must be imported into the device running the POS. The import process is heavily dependent on the OS and the browser.
Windows manages certificates, which means that self-signed certificates must be imported from the certification files rather than the browser. To do so,
Open the Windows File Explorer and locate the downloaded certification files.
Right-click on the certification files and select Install Certificate.
Specify the certificate location and select the installation scope: either the Current User only or all users (Local Machine). Then, click Next.
On the
Certificate Storescreen, tick Place all certificates in the following store, click Browse…, and select Trusted Root Certification Authorities.Click Finish and accept the pop-up security window.
Restart the computer to make sure that the changes are applied.
When using Google Chrome,
Open the web browser.
Navigate to .
Go to the Authorities tab, click Import, and select the exported certification files.
Accept all warnings and click ok.
Restart the web browser.
When using Mozilla Firefox,
Open the web browser.
Navigate to .
Select the exported certification files.
Tick the checkboxes and validate.
Restart the web browser.
Payment method¶
Install the POS Glory Cash Machines module.
Associate a cash payment method:
Go to . Create a new Cash payment method or update an existing payment method.
Select the associated POS in the Point of Sale field.
Select Cash Machine (Glory) in the Integration field.
Fill in the Cash Machine IP field with the IP address of the cash machine.
If the cash machine was configured to use User check in the previous section, fill in the Cash Machine Username and Cash Machine Password.
See also