phucct / magento2-order-api
There is no license information available for the latest version (dev-master) of this package.
Event call API when order successfully
Package info
github.com/gonxhunter/magento2-order-api
Type:magento2-module
pkg:composer/phucct/magento2-order-api
dev-master
2018-05-29 12:20 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0|~7.1.0
This package is not auto-updated.
Last update: 2026-03-20 10:00:11 UTC
README
Description
Integrate Magento 2 with a logistics system
-
Orders When order placed, create event on sales_order_place_after
- On this observer get order information
- Create function to generate data to xml
- Send request to Logistic System
- Get response return magento from logistics system
-
Order Status When order shipped, create event on sales_order_shipment_save_after
- On this observer get order and shipment information
- Create function to generate data to xml
- Send request to Logistic System
- Get response return magento from logistics system
Installation
# You must be in Magento root directory composer require phucct/magento2-order-api:dev-master php bin/magento cache:clean php bin/magento setup:upgrade # Execute setup:di:compile only if the store is in production mode php bin/magento setup:di:compile