Skip to content
  1. Extras
  2. msYandexDelivery

msYandexDelivery

Yandex Delivery tab on the order card

msYandexDelivery connects the Yandex Delivery Platform API (Russia other-day delivery) to MiniShop3 on MODX 3. Shoppers get a rate and choose door delivery or a pickup point at checkout. Managers create and confirm Yandex requests, refresh status by polling the API, and cancel when needed.

Namespace: msyandexdelivery. Delivery class: msyandexdelivery\Delivery\YandexDelivery. There is no status webhook. Refresh uses request/info (order tab button, Scheduler, or cron).

Start here: Quick start.

Features

  • Rate quotes via pricing-calculator (time_interval and self_pickup)
  • Official pickup-point widget v2 (widget-pvz.dostavka.yandex.net)
  • Selection stored in msOrder.properties.msyandexdelivery and table msyandex_requests
  • Cost injected through msOnGetDeliveryCost and YandexDelivery::getCost() (delivery_cost syncs from option price)
  • MiniShop3 order tab on VueTools: create → confirm → refresh → cancel
  • Batch status polling via Scheduler or connector.php?action=sync_statuses

There is no separate CMP. The menu only opens system settings for namespace msyandexdelivery.

Requirements

RequirementVersion
MODX Revolution>= 3.0.3
PHP>= 8.2
MiniShop3>= 1.0.0
VueToolsfor the order tab

Delivery methods on install

The resolver creates two methods with class msyandexdelivery\Delivery\YandexDelivery:

TariffMS3 name
time_intervalЯндекс Доставка — до двери
self_pickupЯндекс Доставка — ПВЗ

IDs go into msyandexdelivery_delivery_id (comma-separated). Active payment methods are linked automatically. The package does not create payment methods.

Installation

  1. Install MiniShop3 and VueTools.
  2. Install msYandexDelivery.
  3. Clear the MODX cache.
  4. Under System settings → msyandexdelivery, set required base_url, token, and sender station.
  5. Enable msyandexdelivery_enabled and the Yandex delivery methods in MiniShop3.
  6. Add checkout snippets and the widget container — see Checkout.

If the transport uses EncryptedVehicle, add the modstore.pro provider in Package Management. Otherwise install fails with Package provider not found.

Sections

PageContent
Quick startAPI keys, checkout, order check
System settingsAll msyandexdelivery_* keys
Checkout and snippetsmsYandexDelivery, msydLexiconScript, widget
Requests and managerCreate / Confirm / Refresh / Cancel, status polling
FAQCommon errors and limits