|
| 1 | +===== |
| 2 | +QFPay |
| 3 | +===== |
| 4 | + |
| 5 | +Connecting a **QFPay payment terminal** allows you to offer a fluid payment flow to your customers |
| 6 | +and ease the work of your cashiers. |
| 7 | + |
| 8 | +.. important:: |
| 9 | + - QFPay payment terminals do not require an :doc:`IoT Box </applications/general/iot>`. |
| 10 | + - QFPay terminals can be used only in **Hong-Kong**. |
| 11 | + |
| 12 | +.. _qfpay/configuration: |
| 13 | + |
| 14 | +QFPay configuration |
| 15 | +=================== |
| 16 | + |
| 17 | +To configure your QFPay payment terminal, follow these steps: |
| 18 | + |
| 19 | +#. Create a QFPay account on `QFPay's website <https://qfpay.global/products/qfpay-pos-api/>`_. |
| 20 | + During your application request for the activation of Asynchronous Notifications, provide your server address, followed by `/qfpay/notify`. |
| 21 | + |
| 22 | + .. example:: |
| 23 | + Write your server address as followed: `https://yourdomain.odoo.com/qfpay/notify` |
| 24 | + |
| 25 | + Copy the notification key provided by QFPay. |
| 26 | + |
| 27 | +#. Set up your QFPay terminal by connecting the Haojin App to your QFPay account as instructed by QFPay. |
| 28 | + |
| 29 | + .. note:: |
| 30 | + Set up a fixed IP address for your terminal. |
| 31 | + If it changes you will have to update it in the Odoo configuration. |
| 32 | + You will also need to request an updated self-signed certificate from QFPay. |
| 33 | + |
| 34 | + Copy the IP address of the terminal. |
| 35 | + |
| 36 | +#. Request a self-signed certificate linked to the IP address of the terminal from QFPay. |
| 37 | + Import the certificate on the machine running the Odoo POS. |
| 38 | + |
| 39 | +#. Generate a POS-KEY. |
| 40 | + Login in the Haojin App or in the MMS (Merchant Management System) portal. |
| 41 | + |
| 42 | + :menuselection:`Haojin App --> My --> Settings --> Pos Call Up Key --> Reset Key` |
| 43 | + or |
| 44 | + :menuselection:`MMS portal --> Setting --> Device Setting --> retrieve the POS key` |
| 45 | + |
| 46 | + Copy that POS-KEY. |
| 47 | + |
| 48 | +Odoo POS configuration |
| 49 | +---------------------------- |
| 50 | + |
| 51 | +To connect the QFPay terminal with Odoo Point of Sale, follow these steps: |
| 52 | + |
| 53 | +#. Go to :menuselection:`Point of Sale --> Configuration --> Settings`, scroll down to the |
| 54 | + :guilabel:`Payment Terminals` section, enable the :guilabel:`QFPay` terminal, and click |
| 55 | + :guilabel:`Save`. |
| 56 | +#. Go to :menuselection:`Point of Sale --> Configuration --> Payment Methods` and :doc:`create a |
| 57 | + payment method <../../payment_methods>`. |
| 58 | +#. Set the :guilabel:`Journal` field to :guilabel:`Bank`. |
| 59 | +#. Select the desired point of sale in the :guilabel:`Point of Sale` field. |
| 60 | +#. Set the :guilabel:`Integration` field to :guilabel:`Terminal`. |
| 61 | +#. Set the :guilabel:`Integrate with` field to :guilabel:`QFPay`. |
| 62 | +#. Paste the copied information from :ref:`QFPay <qfpay/configuration>` into the corresponding |
| 63 | + fields: |
| 64 | + |
| 65 | + - :guilabel:`Terminal IP` |
| 66 | + - :guilabel:`POS Key` |
| 67 | + - :guilabel:`Notification Key` |
0 commit comments