Worldline

Worldline เป็นบริษัทที่ตั้งอยู่ในประเทศฝรั่งเศสและเป็นผู้ให้บริการชำระเงินที่ใหญ่เป็นอันดับสี่ของโลก

การตั้งค่าใน Worldline

สร้างผู้ใช้ API

แนะนำให้ตั้งค่า ผู้ใช้ API เพื่อสร้างธุรกรรมจาก Odoo เพื่อให้แน่ใจว่าการกำหนดค่า Worldline ของคุณจะยังคงปลอดภัยแม้ว่าข้อมูลรับรองจะถูกบุกรุก นอกจากนี้ ผู้ใช้ API ไม่ต้องอัปเดตรหัสผ่านบ่อยครั้งเหมือนบัญชีทั่วไป

ในการสร้าง ผู้ใช้ API ดำเนินการดังนี้:

  1. Log into your Worldline Merchant Portal, click the (menu) icon, and select Back Office.

  2. ไปที่ Configuration ‣ Users และคลิกที่ New User

  3. กำหนดค่าฟิลด์ต่อไปนี้:

    1. ระบุ UserID, User's name, E-mail address และ Timezone ตามที่คุณต้องการ

    2. ตั้งค่าฟิลด์ Profile เป็น Admin

    3. เปิดใช้งาน Special user for API

Tip

หากคุณตั้งค่าผู้ใช้ไว้แล้ว ตรวจสอบให้แน่ใจว่าเปิดใช้งานโดยไม่มีข้อผิดพลาดใดๆ

ตั้งค่า Worldline สำหรับ Odoo

ตอนนี้ต้องกำหนดค่า Worldline เพื่อรับการชำระเงินจาก Odoo

  1. From your merchant portal, go to Developer ‣ Payment API and click on Generate API key. Copy the API key ID and the Secret API key and save them for later.

  2. Go to Developer ‣ Webhooks and click on Generate webhook keys. Copy the Webhook ID and the associated Secret webhook key and save them for later.

  3. คลิก:guilabel:Add webhook endpoint ป้อน URL ของฐานข้อมูล Odoo ของคุณตามด้วย /payment/worldline/webhook ในฟิลด์:guilabel:Endpoint url`และ:guilabel:`Confirm
    ตัวอย่างเช่น: https://example.odoo.com/payment/worldline/webhook

การตั้งค่าใน Odoo

เพื่อตั้งค่า Worldline ใน Odoo:

  1. Navigate to the payment provider Worldline.

  2. ในแท็บ:guilabel:Credentials ป้อน:guilabel:PSPID`ของบัญชี Worldline ของคุณและกรอก:guilabel:`API Key, API Secret, Webhook Key`และ:guilabel:`Webhook Secret`ด้วยค่าที่คุณบันทึกไว้ในขั้นตอน:ref:`ตั้งค่า Worldline สำหรับ Odoo <worldline/set-up>

  3. กำหนดค่าตัวเลือกที่เหลือตามที่คุณต้องการ

  4. ตั้งค่าช่อง สถานะ เป็น เปิดใช้งานแล้ว

Migration from Ogone to Worldline

As of January 1, 2026, Worldline, the company behind the Ogone payment solution, no longer supports Ogone. Users of the Ogone payment provider should migrate to Worldline. To do so, follow these steps:

  1. Log into the Worldline Merchant Portal using your Ogone account credentials.

  2. Complete the Worldline setup for Odoo. The existing API key and secret can be reused; however, a new webhook key and secret must be regenerated.

  3. For on-premise installations or databases managed by a partner, update the Odoo installation as described in the อัปเดตการแก้ไขข้อบกพร่อง documentation, or by contacting your integrating partner.

  4. In Odoo, install the Payment Provider: Worldline (payment_worldline) module.

  5. Configure the Worldline payment provider.