blechlawine / medusa-plugin-nodemailer Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
i18n
is disabled by default, please make it possible to enable it.
Thanks.
Probably because of send: true
in the send email function
I get this error when setting up an invite.created listener
info: Processing invite.created which has 0 subscribers
Error: Order with invite_01FVHC66TN9H8TX280NRCFZMW1 was not found
at OrderService.<anonymous> (/shop-backend/node_modules/@medusajs/medusa/dist/services/order.js:382:35)
at step (/shop-backend/node_modules/@medusajs/medusa/dist/services/order.js:59:23)
at Object.next (/shop-backend/node_modules/@medusajs/medusa/dist/services/order.js:40:53)
at fulfilled (/shop-backend/node_modules/@medusajs/medusa/dist/services/order.js:31:58) {
type: 'not_found',
code: undefined,
date: 2022-02-10T08:35:10.320Z
}
it tries to fetch an order with the invites id, but it should fetch an invite instead.
Maybe this could be solved by specifiying the types of data that should be fetched by each listener, kind of like this:
templateMap: {
"order.placed": {
template: "orderPlaced",
data: ["order"],
},
"invite.created": {
template: "teamInviteCreated",
data: ["invite"],
},
},
I get this error when i create an invite with an invite.created listener set up:
TypeError: Cannot read properties of undefined (reading 'user_email')
apparently, the promise from the inviteService doesn't resolve?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.