A buyer clicks Buy in Yandex Products or Alice, reviews the cart, and completes checkout in the familiar Yandex interface. The plugin rechecks price and stock, accepts the payment confirmation, and creates a regular Shop-Script order.
Your team keeps working in the system it already uses: customer, products, delivery, payment, and acquisition source are attached to the Shop-Script order. Nothing has to be copied from Yandex manually.
checkout/placed with the same session_id resolves to the existing order.The plugin implements all 10 endpoints in the current Yandex Checkout Protocol: warehouses, basket checks, checkout creation and lifecycle, courier delivery options, pickup-point responses, order lookup, cancellation, and delivery confirmation.
Responses use non-cacheable JSON. Bearer authentication, a 128 KB request-body limit, safe identifiers, and required-field validation protect the catalog and order workflow.
offer id.Choose one of three explicit feed mappings: Shop-Script SKU code (recommended), internal SKU ID, or product ID for a simple offer using its primary SKU. After basket matching, the plugin returns a stable internal SKU ID for every following checkout step.
Finite stock is returned as stored. Shop-Script represents unlimited stock with an empty value, while YCP requires an integer, so the plugin exposes a configurable per-order cap. A hidden product, disabled SKU, zero price, or zero stock always reports zero availability.
| Basic request forwarding | Orders from Yandex |
|---|---|
| Trusts the price submitted to checkout | Reads the current Shop-Script price before order creation |
| A retry can create another order | Session locking and recovery prevent duplicates |
| The whole catalog can be exposed by mistake | Product sets and an exact allowlist restrict sales |
| Readiness issues appear only in server logs | The settings screen checks token, HTTPS, warehouse, products, and ID mapping |
| Debug logs may contain personal data | Only safe technical metadata is recorded |
Version 1.0 provides one warehouse profile, optional weekday self-pickup, and a fixed merchant-courier price and business-day interval. The pickup-point endpoint is protocol-complete and returns an empty list until the merchant has an authoritative pickup-point directory.
Orders may be associated with installed Shop-Script delivery and payment methods. An online order is marked paid only after YCP confirms payment_method=online; pay-on-delivery orders remain new.
The plugin implements the merchant-side YCP API and creates Shop-Script orders. It does not generate the YML feed, register the merchant, enable acquiring or fiscal receipts, or control Yandex moderation. The Buy button appears on Yandex surfaces after separate Yandex Products and YCP setup; the plugin does not add a storefront button.
System requirements: Webasyst Framework 2.9+, Shop-Script 9.0+, PHP 7.4+, JSON, and mbstring. Shop-Script PREMIUM is supported.