Worldline

Worldline 提供通过
payment terminals <../terminals> 处理客户交易的支付解决方案。

:::: important ::: title 重要信息 :::

  • 将 Worldline 支付终端连接到 Odoo 需要一个 IoT system </applications/general/iot/connect>
  • Worldline 仅在 比利时荷兰卢森堡 与 Odoo 配合使用。
  • Odoo 兼容使用 CTEP 协议的 Worldline 终端(例如 Yomani XRYoximo 终端)。如有必要,请联系支付提供商确认终端的兼容性。
    ::::

首先,在 POS settings <configuration/settings>Payment Terminals 下启用 Worldline 支付终端。随后
connect the IoT system to Odoo </applications/general/iot/connect>,并在终端上按照以下步骤操作:

  1. 配置 ECR 协议
    1. "." → 3 → Stop → 3 → 0 → 9
    2. 输入技术员密码 1235789 并按 OK
    3. 4 → 2 → CTEP (ECR protocol)。对以下检查逐一按 OK 确认:CTEP ticket ECRECR ticket widthCharacter set
    4. 连续按 Stop 三次,终端会自动重启。
  2. 设置主机名
    1. "." → 3 → Stop → 3 → 0 → 9
    2. 输入技术员密码 1235789 并按 OK
    3. 4 → 9 → TCP/IP (ECR physical conf.) 并两次按 OK
    4. Hostname 页面输入 IoT 的 IP 地址 <iot/connect/IoT-form>,每输入一个数字后按 OK,直到出现冒号符号,再次按 OK 完成。例如 IP 为 10.30.19.4:8069,操作为 10 → OK → 30 → OK → 19 → OK → 4 → OK → OK
  3. 设置端口号
    1. Network domain name 页面输入 9001(使用 IoT box </applications/general/iot/iot_box>)或 9050(使用 Windows virtual IoT </applications/general/iot/windows_iot>),并两次按 OK
    2. 连续按 Stop 三次,终端会自动重启。

终端此时已激活,并显示 Read card(读取卡片)界面。

:::: important ::: title 重要信息 :::

必须将 9050 端口添加为 Windows Firewall exception <iot/windows-iot/firewall>,以便 Windows virtual IoT </applications/general/iot> 正常工作。
::::

:::: tip ::: title 提示 :::

要检查终端的连接状态,打开 IoT 应用并点击 IoT system's card <iot/connect/IoT-form>
::::

将 Worldline 终端与 Odoo 销售点(POS)连接的步骤如下:

  1. 前往 Point of Sale → Configuration → Payment Methods创建一个支付方式 <../../payment_methods>
  2. Journal 字段设为 Bank
  3. Integration 字段设为 Terminal
  4. Integrate with 字段设为 Worldline
  5. Payment Terminal Device 字段中选择已配置的设备并保存。
  6. 前往 Point of Sale → Configuration → Settings,将创建的支付方式加入 Payment Methods 列表,使其在 POS 界面可用。
  7. 点击 Save 保存设置。

::::: {#worldline/yomani-info} :::: tip ::: title 提示 :::

  • 如果使用独立的收银员终端和客户付款终端,先configure <pos/worldline/configuration> 收银员终端。
  • 为防止连接中断,请在 IoT Box 的路由器上设置固定 IP,或 restart the virtual IoT server <iot/windows_iot/restart>
    :::} :::::