• Модуль интеграций
  • Сообщество
  • Блог
Документация
Плагины и интеграцииВсе расширения для Medusa от сообществаСтартерыЗапускайте проекты быстрее с готовыми решениями
ЭкспертыПодберите специалиста для разработки и развития вашего проекта на MedusaКейсыПосмотрите примеры Medusa в продакшене и успешные внедрения
Т-Касса от Т-Банка для Medusa: приём платежей для РФ

16 октября 2026 г. · Продукт

Gorgo снижает затраты на адаптацию Medusa к локальным рынкам.

Мы разрабатываем плагины интеграции, осуществляем поддержку и развиваем сообщество разработчиков на Medusa в Telegram.

  • Ресурсы Medusa
  • Плагины и интеграции
  • Модуль интеграций
  • Стартеры
  • Эксперты
  • Кейсы
  • Medusa Чат в Telegram
  • Medusa Новости в Telegram
  • Документация Gorgo
  • Связаться с нами
  • TelegramGitHub
Плагины
P

Print trail

Print Trail fulfilment for Medusa v2: orders sent automatically, stock levels synced and tracking sent back to Medusa.

npm install medusa-plugin-print-trail
Категория
Доставка
Создано
Bradydan
Версия
1.1.0
Последнее обновление
1 день назад
Ежемесячные загрузки
Загрузка данных
Звезды на Github
0
npmNPMGitHubGithub

Print Trail for Medusa

is a Medusa v2 plugin that connects a Medusa store to the Print Trail API for automated order fulfilment of books and printed products.

  • Orders containing Print Trail products are sent to Print Trail and confirmed automatically.
  • Each Print Trail parcel comes back as a Medusa fulfilment and shipment, with its tracking number and its own shipment email.
  • Stock levels, pre-orders included, are synced from Print Trail into Medusa inventory.
  • Cancels, order edits, claims and exchanges made in Medusa are carried to Print Trail.

Website: printtrail.com. Guide: docs.printtrail.com/integrations/medusa.

Screenshots

The order page: each Print Trail fulfilment with its tracking, and the order's Print Trail timeline.

Settings → Print Trail: the connection and the webhook.

Requirements

  • Medusa , tested on 2.17.2 and 2.22.1 with Node 22.
  • A Print Trail account with a channel of its own for the store (not the Standard channel), and that channel's API token. Both are in the Print Trail app under Settings → Channels: Token on the channel's row creates the token, which is shown once.
  • Redis locking (Medusa's Locking Module with its Redis provider) when the store runs more than one process (a server and a worker count as two). Without a shared lock, two processes can send the same order twice.
  • An email provider in Medusa (a notification provider on the channel) for the shipment and admin emails. Without one, none is sent.

Setup

1. Install

In the store:

2. Configure

There are two blocks because Medusa passes a plugin's options only to the modules inside it, and a fulfilment provider is registered under the Fulfillment Module instead. reads the credentials once, so both blocks get the same values.

Setting replaces Medusa's default list, so keep the manual provider listed or the store's manual shipping options stop working. If the store already has an entry, add the Print Trail provider to it.

3. Set the environment variables

  • : . It has no default, so set it with the other two: a channel ID or token without it stops the plugin's module loading.
  • : the store's Print Trail channel ID.
  • : the channel's API token.
  • : this backend's public URL. Print Trail sends its webhooks to , and only to an URL on a public host, so a local store needs an HTTPS tunnel.
  • : the Medusa admin URL, for links from Print Trail back to the order.
  • : who is emailed when a Medusa cancel comes too late for Print Trail. A comma-separated list is accepted.

The plugin reads the three credentials itself; the other three are the names the config above passes through. Changing any of them later needs a restart.

4. Run the migrations and start Medusa

npx medusa db:migrate

They create the plugin's tables and its link to orders. Then start Medusa, or restart it if it's running, so it reads the variables.

5. Connect in the admin

  1. Go to Settings → Print Trail and press Test connection. It checks the token and channel, registers the store's webhook with Print Trail and fetches the webhook secret.
  2. Put the products Print Trail fulfils in a shipping profile of their own.
  3. On Settings → Print Trail, follow the Print Trail shipping options link and create a Print Trail shipping option for that profile, in a service zone whose fulfilment set is linked to a stock location.

Variants are matched to Print Trail by SKU. Where Print Trail's SKU differs, set it in the Print Trail panel on the variant page.

Before taking live orders, cancel any open test orders (the plugin sends open orders with Print Trail lines from the last 7 days), and switch payments and Print Trail credentials to live together.

Documentation

  • Guide: docs.printtrail.com/integrations/medusa, for setting the plugin up and using it day to day.

  • Reference: docs.printtrail.com/integrations/medusa-reference, for every option, rate cards, pre-orders, notifications, the workflows and hooks, events, jobs, API routes and troubleshooting.

  • Changelog, with each release's upgrade notes.

  • Contributing: developing and testing the plugin.

  • Problems and requests: GitHub issues.

Licence

The plugin is licensed under the PolyForm Shield License 1.0.0. The full terms are in , which ships with the package. In short, you can use it for anything except competing with it:

  • Any store can install and run it, commercial stores included, at no charge.
  • You can change it and pass on copies, changed or not, so an agency can install it for its clients. Whoever gets a copy from you must also get the licence terms and the line in .
  • You can't use it to provide a product that competes with it, such as a Medusa integration for another fulfilment service built from this code.

The noncompete makes it a source-available licence, not an open-source one. This is a summary; the terms in decide.

Еще в этой категории

Посмотреть все
Доставка
DHL eCommerce logo

DHL eCommerce

От Mitchellston

Выполняйте заказы с помощью DHL eCommerce

Загрузка данных
GitHubnpm
Доставка
Mondial Relay logo

Mondial Relay

От Theodaguier

Доставляйте заказы с Mondial Relay

Загрузка данных
npm
Доставка
Интеграция
ApiShip logo

ApiShip

От Gorgo

Подключите доставку несколькими перевозчиками

Загрузка данных
GitHubnpm
npm install medusa-plugin-print-trail
1import { printTrailOptionsFromEnv } from "medusa-plugin-print-trail/config"
2
3const printTrail = printTrailOptionsFromEnv()
4
5module.exports = defineConfig({
6 // …
7 plugins: [{
8 resolve: "medusa-plugin-print-trail",
9 options: {
10 ...printTrail,
11 backendUrl: process.env.MEDUSA_BACKEND_URL,
12 adminUrl: process.env.MEDUSA_ADMIN_URL,
13 notifications: { adminEmail: process.env.PRINT_TRAIL_ADMIN_EMAIL },
14 },
15 }],
16 modules: [{
17 resolve: "@medusajs/medusa/fulfillment",
18 options: {
19 providers: [
20 { resolve: "@medusajs/medusa/fulfillment-manual", id: "manual" },
21 {
22 resolve: "medusa-plugin-print-trail/providers/print-trail",
23 id: "print-trail",
24 options: printTrail,
25 },
26 ],
27 },
28 }],
29})