Làm cách nào để định cấu hình eBay trong ODOM?

Tạo eBay Tokens

In order to create your tokens, you need to create a developer account on the developer portal. Once you are logged in, you can create Sandbox Keys and Production Keys by clicking on the adequate buttons.

../../../../_images/setup01.png

Sau khi tạo các phím, bạn có thể lấy mã thông báo của người dùng. Để làm như vậy, nhấp vào Lấy mã thông báo của người dùng liên kết ở cuối trang. Truy cập vào biểu mẫu, đăng nhập bằng tài khoản eBay của bạn và bạn sẽ nhận được các khóa và mã thông báo cần thiết để định cấu hình mô-đun trong Odoo.

Thiết lập mã thông báo mã thông báo trong nông nghiệp?

Để thiết lập tích hợp eBay, hãy truy cập: menuselection:Sales -> Cấu hình -> Cài đặt.

../../../../_images/setup02.png

Đầu tiên chọn nếu bạn muốn sử dụng trang web sản xuất hoặc trang web của hộp cát. Sau đó điền vào các trường Khóa nhà phát triển **, mã thông báo , **phím ứng dụng **, Cert Key **. Áp dụng các thay đổi.

Khi trang được tải lại, bạn cần đồng bộ hóa thông tin từ eBay. Đẩy vào ** Đồng bộ hóa các quốc gia và tiền tệ **, sau đó bạn có thể điền vào tất cả các trường khác.

Khi tất cả các trường được điền vào, bạn có thể đồng bộ hóa các danh mục và các chính sách bằng cách nhấp vào các nút đầy đủ.

Accept account deletion notifications

Since September 2021, eBay requires supporting customer account deletion/closure notifications. As such, when eBay receives an account request for deletion, all eBay partners must confirm the reception of the request and take further action if necessary.

Odoo has a notification endpoint to receive those notifications, confirm the reception of the request, and handle the first set of actions to anonymize the account details in Contacts and remove the customer's access to the portal.

Quan trọng

Make sure to correctly set up your subscription to the marketplace account deletion notifications as eBay may temporarily disable the related eBay account until the subscription is completed.

Retrieve endpoint details from Odoo

The endpoint details can be found in Sales ‣ Configuration ‣ Settings ‣ eBay. Click on Generate Token to retrieve your Verification Token.

Button to generate an eBay verification token in Odoo

Subscribe to account deletion notifications

Log in on the developer portal of eBay and go to Alerts & Notifications.

Overview of the Alerts & Notifications dashboard of eBay

To subscribe to deletion/closure notifications, eBay needs a few details:

  • An email address to send notifications to if the endpoint is unreachable.

  • The endpoint details:

    • The URL to Odoo's account deletion notification endpoint

    • A verification token

Dedicated fields to enter the endpoint details

Mẹo

You can edit the last two fields once the email address field is filled out.

Verify the connectivity with the endpoint

After setting the retrieved endpoint details in eBay's dashboard, consider testing the connectivity with the Send Test Notification button.

You should get the following confirmation message: "A test notification was sent successfully!"

Button to send test notification

Using the updated synchronisation method

If you have a lot of products, the eBay API can sometimes refuse some synchronization calls due to a time-based limit on the number of requests that eBay enforces.

To fix this issue, a new implementation mechanism has been developed; however this updated mechanism is disabled by default to avoid having the 2 systems running in parallel in existing installations.

To switch to the new synchronization mechanism:

  1. Activate the developer mode.

  2. Go to Settings ‣ Technical ‣ Scheduled Actions

  3. Archive the old synchronization actions (both are named Ebay: update product status)

  4. Activate the new synchronization actions (Ebay: get new orders which runs every 15min by default and Ebay: synchronise stock (for 'get new orders' synchronisation) which runs once a day per default)

  5. Ensure that the Next Execution Date for both these actions are in the near future

Starting with the next execution date, the new method will be used instead of the old one.