@nicogorga/medusa-payment-mercadopago
Version:
Mercado Pago payment provider plugin for MedusaJS
31 lines (26 loc) • 811 B
Markdown
## Module Providers
You can create module providers, such as Notification or File Module Providers under a sub-directory of this directory. For example, `src/providers/my-notification`.
Then, you register them in the Medusa application as `plugin-name/providers/my-notification`:
```ts
module.exports = defineConfig({
// ...
modules: [
{
resolve: "@medusajs/medusa/notification",
options: {
providers: [
{
resolve: "@myorg/plugin-name/providers/my-notification",
id: "my-notification",
options: {
channels: ["email"],
// provider options...
},
},
],
},
},
],
})
```
Learn more in [this documentation](https://docs.medusajs.com/learn/fundamentals/plugins/create).