tryoto/mage2-ordersync

There is no license information available for the latest version (1.0.8) of this package.

Order Synchronization extension for Magento 2x

1.0.8 2025-03-12 09:45 UTC

This package is auto-updated.

Last update: 2025-04-12 13:05:30 UTC


README

OTO Order Integration for Magento2

For Magento / Adobe Commerce 2.3.x and 2.4.x

OTO OrderSync Extension

This extension is connects your Magento2 web store and sends new orders to OTO api system. You can trigger order synchronization with command line manually or with cron. It also cancels canceled orders on OTO side.

What is OTO

MENA's #1 shipping gateway for e-commerce stores and retailers to ship, manage, track, analyze and return orders with 200+ carriers from a single dashboard.





Features

  • Connects and authorizes your Magento2 store to OTO System.
  • Synchronizes your new orders to OTO.
  • Cancels orders in OTO if canceled in Magento.
  • You can send individual order data to OTO with command line

How to Install OTO OrderSync Extension

Using Composer (recommended)
composer require tryoto/mage2-ordersync;
php bin/magento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;
Using git clone
cd your_website_path;
git clone https://github.com/apps-tryoto/magento2-ordersync app/code/Oto/OrderSync;
php bin/magento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;
Using manual download and FTP Upload

Go to https://github.com/oto/mage2-ordersync/releases and download latest version. Open zipfile and upload OrderSync directory as app/code/Oto/OrderSync

cd your_website_path;
php bin/magento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;
After module setup

Add this cron command to cron to sync your orders with oto in period which you want;

*/2 * * * * cd your_website_path; php bin/magento oto:new_order_sync >> var/log/oto_ordersync_new_orders.log
Uninstalling
composer remove tryoto/mage2-ordersync;
php bin/magento maintenance:enable;
php bin/magento module:disable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;

Do not forget to remove cron entry from crontab.

© All rights reserved OTO Global Inc. © 2024 | www.tryoto.com