graciousstudios / interconnect-magento2
为 Magento2 提供的 Webhook 模块,该模块将数据传输到 Gracious Interconnect Web 服务,该服务再将数据进行格式化和代理,发送到连接的消费者服务
1.1.4
2018-10-03 08:27 UTC
Requires (Dev)
- mockery/mockery: ~1.1
- phpunit/phpunit: ~7.2
This package is auto-updated.
Last update: 2024-08-29 04:25:47 UTC
README
Gracious Studios 为 Magento 2 提供的 Interconnect 模块将事件数据传输到 Gracious Interconnect Web 服务,该服务再将数据进行格式化并将其代理到连接的消费者服务。目前,唯一的连接消费者是 Copernica。未来还将连接更多消费者。
事件数据会自动传输到 Web 服务,但该模块还提供了 4 个控制台命令,可以手动同步数据。这些命令是
- 'interconnect:synccustomer' : 通过提供 --id={customerId} 参数同步客户
- 'interconnect:syncorder' : 通过提供 --id={orderId} 参数同步订单
- 'interconnect:syncquote' : 通过提供 --id={quoteId} 参数同步报价
- 'interconnect:syncsubscriber' : 通过提供 --id={subscriberId} 参数同步订阅者
启动模块
- 使用 composer 安装模块。它将被安装在 vendor 文件夹中。
- 从 Magento 安装根目录的命令行中运行 "./bin/magento setup:upgrade"(不带引号)。这将安装模块。
- 从 Magento 安装根目录的命令行中运行 "./bin/magento setup:di:compile"(不带引号)。这将配置依赖注入。
- 在网店的后端,从主菜单转到 Stores > Configuration,然后在配置菜单下的 'Interconnect' 下的 'General Settings' 上点击。您需要在这里输入 Interconnect Web 服务的 URL,并为您提供应用程序的前缀。假设您的网店名为 'ProShop',例如,您的前缀可以是 'PS'。还要提供您的 Interconnect Web 服务的 API 密钥。这是必需的,用于身份验证。现在点击 'Save'。模块已配置。
为了完全使用此模块,您需要为 Gracious Interconnect Web 服务拥有一个账户。请联系 info@graciousstudios.nl 以获取更多信息、进一步集成和其他可能性。在电子邮件主题中使用 'Interconnect'。