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

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 2

Open Issues: 0

Type:magento2-module

pkg:composer/phucct/magento2-order-api

dev-master 2018-05-29 12:20 UTC

This package is not auto-updated.

Last update: 2026-01-09 09:10:04 UTC


README

Description

Integrate Magento 2 with a logistics system

  1. 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
  2. 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