pevey / medusa-plugin-ses

Notifications plugin for Medusa ecommerce server that sends transactional emails via AWS SES (Simple Email Service).
https://pevey.com/medusa-plugin-ses
GNU General Public License v3.0
19 stars 7 forks source link

Update to to use new subscriber api launched in v1.18.0? #5

Open ryan-feagin opened 6 months ago

ryan-feagin commented 6 months ago

I tried upgrading my medusa project to use V1.18 and ran into issues with the SES plugin...

⠙ Initializing plugins warn: The subscriber in node_modules/medusa-plugin-ses/dist/subscribers/notification.js is missing a config. warn: The subscriber in node_modules/medusa-plugin-ses/dist/subscribers/restock.js is missing a config. error: Error starting server TypeError: Cannot read properties of undefined (reading 'prototype') at registerPaymentServiceFromClass (node_modules/@medusajs/medusa/dist/loaders/helpers/plugins.js:9:51) at node_modules/@medusajs/medusa/dist/loaders/plugins.js:482:87 at step (node_modules/@medusajs/medusa/dist/loaders/plugins.js:56:23) at Object.next (node_modules/@medusajs/medusa/dist/loaders/plugins.js:37:53) at node_modules/@medusajs/medusa/dist/loaders/plugins.js:31:71 at new Promise () at __awaiter (node_modules/@medusajs/medusa/dist/loaders/plugins.js:27:12) at node_modules/@medusajs/medusa/dist/loaders/plugins.js:473:99 at Array.map () at node_modules/@medusajs/medusa/dist/loaders/plugins.js:473:72

Do you have plans to update the plugin to use the latest subscriber api?

raiyansarker commented 5 months ago

I am having the same issue

raiyansarker commented 5 months ago

@pevey will there be any update?

pevey commented 5 months ago

I no longer use Medusa. I prefer Vendure.