如何在Odoo里配置eBay?¶
创建eBay令牌¶
为了生成你的令牌, 你需要在开发者门户<https ://go.developer.ebay.com/> `_.创建一个开发者账号。一旦你登陆, 你可以点击按钮创建 沙箱 秘钥 和 成品 秘钥
在秘钥创建后, 你可以得到你的用户令牌.这么做, 点击在页面底部的链接 得到一个用户令牌 。通过界面, 用你的eBay账号登陆, 然后你可以得到需要在Odoo里配置模块的秘钥和令牌。
在Odoo里设置令牌¶
为了设置eBay集成, 进入菜单
。首先选择你要使用的是成品还是eBay沙箱。然后填写字段 开发者秘钥 , 令牌 , APP 秘钥 , 认证秘钥 。申请变更。
一旦页面被重新载入, 你需要从eBay同步信息。 同步国家和货币 , 然后你可以填写其他字段。
当所有的字段被填写后, 你可以通过点击按钮同步种类和策略
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.
重要
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.
Verify your installation of Odoo is up to date¶
In order to activate the endpoint, the module eBay Connector - Account Deletion must be installed. If your Odoo database was first created after September 2021, the module is installed automatically and you can proceed to the next step.
Update Odoo to the latest release¶
The notification endpoint is made available through a new Odoo module; to be able to install it, you must make sure that your Odoo source code is up-to-date.
If you use Odoo on Odoo.com or Odoo.sh platform, your code is already up-to-date and you can proceed to the next step.
If you use Odoo with an on-premise setup or through a partner, then you must update your installation as detailed in this documentation page or by contacting your integrating partner.
Update the list of available modules¶
New modules must be discovered by your Odoo instance to be available in the
menu.To do so, activate the developer mode, and go to
. A wizard will ask for confirmation.Install the eBay Connector - Account Deletion update¶
警告
You should never install new modules in your production database without testing them in a duplicate or staging environment. For Odoo.com customers, a duplicate database can be created from the database management page. For Odoo.sh users, you should use a staging or duplicate database. For on-premise users, you should use a staging environment - you should contact your integrating partner for more information regarding how to test a new module in your particular setup.
To install the module, go to the Apps
search facet and
search for ebay
. If the module eBay Connector - Account Deletion is present and marked as
installed, your Odoo database is already up-to-date and you can proceed with the next step. If it is
not yet installed, install it now.
Retrieve endpoint details from Odoo¶
The endpoint details can be found in
. Click on Generate Token to retrieve your Verification Token.Subscribe to account deletion notifications¶
Log in on the developer portal of eBay and go to Alerts & Notifications.
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
小技巧
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!”