
msYandexDelivery

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_intervalandself_pickup) - Official pickup-point widget v2 (
widget-pvz.dostavka.yandex.net) - Selection stored in
msOrder.properties.msyandexdeliveryand tablemsyandex_requests - Cost injected through
msOnGetDeliveryCostandYandexDelivery::getCost()(delivery_costsyncs 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
| Requirement | Version |
|---|---|
| MODX Revolution | >= 3.0.3 |
| PHP | >= 8.2 |
| MiniShop3 | >= 1.0.0 |
| VueTools | for the order tab |
Delivery methods on install
The resolver creates two methods with class msyandexdelivery\Delivery\YandexDelivery:
| Tariff | MS3 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
- Install MiniShop3 and VueTools.
- Install msYandexDelivery.
- Clear the MODX cache.
- Under System settings →
msyandexdelivery, set requiredbase_url, token, and sender station. - Enable
msyandexdelivery_enabledand the Yandex delivery methods in MiniShop3. - 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
| Page | Content |
|---|---|
| Quick start | API keys, checkout, order check |
| System settings | All msyandexdelivery_* keys |
| Checkout and snippets | msYandexDelivery, msydLexiconScript, widget |
| Requests and manager | Create / Confirm / Refresh / Cancel, status polling |
| FAQ | Common errors and limits |
