Volanea
Провайдер уведомлений Volanea для Medusa v2. Отправляет транзакционные письма Medusa (подтверждения заказов, сброс пароля, приглашения) через API Volanea.
- Категория
- Уведомления
- Создано
- Tmxsmoke1
- Версия
- 1.0.0
- Ежемесячные загрузки
- 20
- Последнее обновление
Индекс качества
2/4Безопасность, Пройдено5/5
- Нет скриптов установки, Пройдено
- Нет известных уязвимостей, Пройдено
- Нет сообщений о вредоносном коде, Пройдено
- Нет секретов в пакете, Пройдено
- Нет обфускации, Пройдено
Совместимость, Не проверено1/5 · не проверено: 4
- Диапазоны версий Medusa, Пройдено
- Чистая установкаНе проверено
- СборкаНе проверено
- МиграцииНе проверено
- ЗапускНе проверено
- Мы ещё не устанавливали этот плагин в тестовый проект Medusa.
Сопровождение, Не пройдено3/5 · не проверено: 1
- Публичный репозиторий, Пройдено
- Свежий релиз, Пройдено
- Нет отставания от MedusaНе проверено
- Тесты в CI, Не пройденоВ репозитории нет CI, который запускает тесты.
- Открытая лицензия, Пройдено
Документация, Пройдено3/3
- Инструкция по установке, Пройдено
- Английский язык, Пройдено
- Переменные окружения, Пройдено
Версия 1.0.0 проверена на Medusa 2.23.1 (29 нояб. 2026 г.). Как Gorgo проверяет плагины →
Зрелость
РастущийПервый стабильный релиз 28 авг. 2026 г., 1 версия, релизы в 1 из последних 12 месяцев. Как Gorgo оценивает зрелость →
medusa-provider-notification-volanea
Send Medusa's transactional email through Volanea — order confirmations, shipment notices, password resets, customer invites, and anything else you dispatch through the Notification Module.
Zero runtime dependencies. Medusa v2, Node 20+.
Install
Register
:
:
Only one provider can serve a channel, so this replaces whatever was on before.
must be on a domain verified in Volanea. An unverified domain is a 403 on every send, not a warning. Verify it under Domains in the dashboard before you register the provider.
Send
Or with inline content and no stored template:
Two behaviours to design around
1. A 200 does not mean delivered. returns as soon as the message is durably queued; the provider hand-off happens afterwards. This provider reports accepted, never delivered. For the real outcome, subscribe a webhook endpoint to , and and correlate on the id this provider returns.
2. A 200 can mean nothing was sent. Volanea reports per-recipient skips — suppressed, unsubscribed, over quota, reputation-paused — inside a successful body. Medusa reads a resolved promise as success, so a fully skipped send would otherwise vanish: the notification row says sent, and the customer never got their order confirmation.
So when every recipient was skipped, this provider throws (). Set if you would rather have the send resolve and read the skips out of your logs.
Options
| Option | Default | Purpose |
|---|---|---|
| — | Required. Volanea secret key. | |
| Override the API host. | ||
| — | Default sender. Must be on a verified domain. | |
| — | Default sender display name. | |
| — | Default Reply-To. | |
| Abort the request after this many ms. | ||
| Throw when every recipient was skipped. | ||
| — | Read by Medusa, not by this provider. |
Medusa's first-party providers spell options in snake_case (), so every option above is also accepted in that style — , , , , . camelCase wins if you supply both.
A missing or malformed option throws at construction, so a misconfigured provider stops Medusa from booting rather than failing silently at the first order.
How a notification maps onto the API
| Medusa | Volanea | Notes |
|---|---|---|
| splits into an addressed recipient. | ||
| A non-empty template names the body. | ||
| Sent either way, so it can override a template's subject. | ||
| / | / | Used only when there is no . |
| Flattened — see below. | ||
| + | A display name is split out. | |
| is base64; → . | ||
| header | A repeat replays the stored response instead of sending twice. |
Everything is sent as — an order confirmation has to reach someone who unsubscribed from marketing. Pass for a send that should honour unsubscribes and carry the unsubscribe footer.
also passes , , , and straight through.
Why is flattened
Volanea validates as a flat and rejects anything else with a 422 — but Medusa's is routinely nested. This provider flattens to dotted keys rather than rejecting:
Volanea's renderer resolves a placeholder by trying the literal key first, so in your template picks the flattened key up unchanged — you write the template exactly as the nested data reads. and are dropped rather than rendering the literal text "null"; values become ISO strings.
Attachments
is treated as already base64, matching Medusa's own type and how its providers hand attachments to SendGrid. Buffers, s and URIs are also accepted. Up to 10 attachments, 10 MiB per request. Nothing is read from disk or from a URL — pass the bytes.
Errors
Every failure arrives as a naming the specific cause. Branch on the code, never on the wording.
| Code | Meaning |
|---|---|
| Missing or invalid API key. | |
| Send rejected — an unverified domain is the usual cause, and the domain is named in the message. | |
| The is not a Volanea template id. | |
| The request was malformed; the failing fields are in . | |
| Same key, different body. Nothing was sent. | |
| Per-project burst cap. The retry delay is in the message. | |
| Accepted, but every recipient was skipped. | |
| An attachment had no content. | |
| No response within ms. | |
| The API was unreachable. | |
| A non-JSON response. |
A raw error never reaches Medusa — transport failures are wrapped before they leave the provider.
Troubleshooting
403 on every send — the domain is not verified in Volanea. Check Domains in the dashboard. This is the single most common cause of a provider that "doesn't work" from the first order onward.
Nothing arrives and there is no error — you are running with , and the recipients were skipped. Check the logs for , then Suppressions in the dashboard. A suppressed address stays suppressed until you remove it.
It works in development but not production — you are almost certainly using a test-mode key. Test-mode sends render, validate and log, but never leave the building. The provider logs a warning on every test-mode send; check for .
Medusa boots but the provider is never called — another provider holds the channel. Only one provider serves a channel; remove the other entry.
at boot — the option did not reach the provider. It belongs in the provider entry's own , not the notification module's top-level .
Testing locally
Send to . It is absorbed by the SES mailbox simulator: it never bounces, and it never counts against your quota, bounce rate, or sender reputation.
Do not invent a test address on a real domain. It hard-bounces, and hard bounces damage the sender reputation of every domain on your account.
The suite uses Node's built-in test runner with no framework dependency: and cover the mapping and the HTTP client in isolation, and loads the built entry point against the real so an upstream signature change fails here instead of at your boot.
Licence
MIT

