|
| 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 | + In your application email, request for the activation of Asynchronous Notifications, provide your server address, followed by `/qfpay/notify`. |
| 21 | + If you already have an account, contact ` [email protected]` and provide your merchant and store information on top of the server address. |
| 22 | + |
| 23 | + .. example:: |
| 24 | + Write your server address as followed: `https://yourdomain.odoo.com/qfpay/notify` |
| 25 | + |
| 26 | +#. Copy the notification key provided by QFPay. |
| 27 | + |
| 28 | +#. Set up your QFPay terminal by connecting the Haojin App to your QFPay account as instructed by QFPay. |
| 29 | + |
| 30 | + .. note:: |
| 31 | + Set up a fixed IP address for your terminal. |
| 32 | + If it changes you will have to update it in the Odoo configuration. |
| 33 | + You will also need to request an updated self-signed certificate from QFPay. |
| 34 | + |
| 35 | +#. Copy the IP address of the terminal. |
| 36 | + |
| 37 | +#. Request a self-signed certificate linked to the IP address of the terminal from QFPay. |
| 38 | + Import the certificate on the machine running the Odoo POS. |
| 39 | + |
| 40 | +#. Generate a :guilabel:`POS-KEY`. |
| 41 | + Login in the Haojin App or in the MMS (Merchant Management System) portal. Go to |
| 42 | + :menuselection:`Haojin App --> My --> Settings --> Pos Call Up Key --> Reset Key` or |
| 43 | + :menuselection:`MMS portal --> Setting --> Device Setting --> retrieve the POS key`. |
| 44 | + |
| 45 | +#. Copy that :guilabel:`POS-KEY`. |
| 46 | + |
| 47 | +Odoo POS configuration |
| 48 | +---------------------- |
| 49 | + |
| 50 | +To connect the QFPay terminal with Odoo Point of Sale, follow these steps: |
| 51 | + |
| 52 | +#. Go to :menuselection:`Point of Sale --> Configuration --> Settings`, scroll down to the |
| 53 | + :guilabel:`Payment Terminals` section, enable the :guilabel:`QFPay` terminal, and click |
| 54 | + :guilabel:`Save`. |
| 55 | +#. Go to :menuselection:`Point of Sale --> Configuration --> Payment Methods` and :doc:`create a |
| 56 | + payment method <../../payment_methods>`. |
| 57 | +#. Set the :guilabel:`Journal` field to :guilabel:`Bank`. |
| 58 | +#. Select the desired point of sale in the :guilabel:`Point of Sale` field. |
| 59 | +#. Set the :guilabel:`Integration` field to :guilabel:`Terminal`. |
| 60 | +#. Set the :guilabel:`Integrate with` field to :guilabel:`QFPay`. |
| 61 | +#. Paste the copied information from :ref:`QFPay <qfpay/configuration>` into the corresponding |
| 62 | + fields: |
| 63 | + |
| 64 | + - :guilabel:`Terminal IP` |
| 65 | + - :guilabel:`POS Key` |
| 66 | + - :guilabel:`Notification Key` |
0 commit comments