Replies: 5 comments 3 replies
-
Hi, did you ever figure out what was wrong? I seem to be experiencing the same issue. |
Beta Was this translation helpful? Give feedback.
-
@star-ot @pmltechpile I found the root cause. Medusa 1.18 broke compatibility with the Sendgrid plugin, due to the different subscriber/loader architecture. I've filed a bug report in #5969 |
Beta Was this translation helpful? Give feedback.
-
I think this is because of the single sender verification email not being verified. I tried my personal mail id as a single sender and verified it. Then when the order was placed, a confirmation mail was sent from my personal mail to the customer's email. Using personal emails are not a good practice, but it's good enough for testing purposes. In your case, most probably the from address |
Beta Was this translation helpful? Give feedback.
-
Hello, anyone solved this issue? |
Beta Was this translation helpful? Give feedback.
-
You can check if the event bus module is installed and configured. I did this and it worked. |
Beta Was this translation helpful? Give feedback.
-
Hi all, my team and I have followed all documentation regarding setting up sendgrid, but are unable to get emails to send for any notifications that are subscribed.
We are using the local event bus for testing and events seem to be processing fine, but the actual dispatch of emails via sendgrid is not working. When the plugin is initalized, it appears to be taking the options from our .env and loading three times then the options go empty. ( I tested by adding some prints to console when the sendgrid.js is initialized with the _mail["default"].setApiKey ).
In order to make sure the @sendgrid node module was actually working, I sent my own test message in the same initialization function to myself and my co-worker and it worked fine when the plugin initialized. (See commented code below)
Can anyone help us figure this out? Is this an actual issue or are we just doing it wrong? We are using the fake redis and pretty much a clean install of the backend with postgres.
Again, it appears the sendgridservice is loaded 3 times as shown by my output here, but does not actually connect with the right api key or options?
TIA!
medusa-plugin-sendgrid: 1.3.9
Node.js v18.16.0
Postgres
Linux
Opera GX / Google Chrome / Firefox
medusa develop output:
event bus output:
info: Processing order.placed which has 2 subscribers
modified sendgrid.js:
Beta Was this translation helpful? Give feedback.
All reactions