kb-0912 / medusa-plugin-brevo

MIT License
2 stars 2 forks source link

Big thanks for making this! #10

Open SyedYaseen opened 2 months ago

SyedYaseen commented 2 months ago

I want to understand what needs to go in the following items on the config? Are they supposed to be templates ids on brevo?

order: { placed: process.env.BREVO_ORDER_PLACED || null, canceled: process.env.BREVO_ORDER_CANCELED || null, shipment_created: process.env.BREVO_ORDER_SHIPMENT_CREATED || null, }, customer: { created: process.env.BREVO_CUSTOMER_CREATED || null, password_reset: process.env.BREVO_CUSTOMER_PASSWORD_RESET || null, }, user: { created: process.env.BREVO_USER_CREATED || null, password_reset: process.env.BREVO_USER_PASSWORD_RESET || null, }, auth: { password_reset: process.env.BREVO_AUTH_PASSWORD_RESET || null, verify_account: process.env.BREVO_AUTH_VERIFY_ACCOUNT || null, }, activity: { inactive_user: process.env.BREVO_ACTIVITY_INACTIVE_USER || null, inactive_customer: process.env.BREVO_ACTIVITY_INACTIVE_CUSTOMER || null, },

kb-0912 commented 2 months ago

Yes it should be Brevo Template ID. For example in your env BREVO_ORDER_PLACED=123