mage-os/mageos-common-async-events
最新稳定版本:0.5.2
Composer 安装命令:
composer require mage-os/mageos-common-async-events
包简介
Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.
README 文档
README
Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.
This module uses the Mage-OS Asynchronous Events module as a basis.
Installation
composer require mage-os/mageos-common-async-events
If you run into an error like "Could not find a version of package mage-os/mageos-common-async-events matching your minimum-stability (stable).", run this command instead:
composer require mage-os/mageos-common-async-events @dev
Enable and install the module:
bin/magento setup:upgrade
Usage
You can now use the following events without having to implement them yourself.
| Event identifier | Description | Remarks |
|---|---|---|
| customer.created | Whenever a customer is created | |
| customer.updated | Whenever a customer is saved, except it's new | |
| customer.login | Whenever a customer logs in successfully | |
| customer.address.created | Whenever a customer address is created | |
| customer.address.updated | Whenever a customer address is saved, except it's new | |
| sales.order.created | When a new order is created | |
| sales.order.updated | When the state of an existing order is changed | |
| sales.order.paid | When an order is fully paid | |
| sales.order.shipped | When an order is fully shipped | |
| sales.order.holded | When an order is set "on hold" | |
| sales.order.unholded | When an order is released from "on hold" | |
| sales.order.cancelled | When an order is cancelled | |
| sales.shipment.created | When a new shipment is created | |
| sales.invoice.created | When a new invoice is created | |
| sales.invoice.paid | When an invoice is paid | |
| sales.creditmemo.created | When a new creditmemo is created | |
| catalog.product.created | When a new product is created | |
| catalog.product.updated | When a product is updated |
You can use these events by
- creating a new subscription via Mage-OS REST API
- creating a new subscription with the Mage-OS Async Events Admin UI module
3rd Party Events
| Event identifier | Description | Module |
|---|---|---|
| customer.login_failed | Whenever a customer fails to log in | zero1/async-event-customer-login-failed |
| customer.create_failed | Whenever a customer fails to sign up for an account | zero1/async-event-customer-create-failed |
统计信息
- 总下载量: 6.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-10