Skip to content

sandeepscet/medusa-notification-telegram

Repository files navigation

Order Notifications to Telegram

Image

Demo

medusa-telegram-demo.mp4

Description

All order related events pushed to telegram group so that user can see the highlights. User can navigte to link to get more order details.

Set up Project

Prerequisites

Installation

  • Clone this repo
  • Configure below paramers in backend medsa-config.js file
  {
    resolve: `medusa-notification-telegram`,
    options: {
      token: process.env.TELEGRAM_TOKEN || 'xxxxxxxxxxxx',
      group_chat_id: process.env.TELEGRAM_GROUP_CHAT_ID || '-100xxxxxxxx',      
      admin_orders_url: 'http://localhost:7000/a/orders',
      events_notifications: [
            "order.placed" , "order.return_requested" ,"order.fulfillment_created" ,"order.shipment_created" ,
            "order.payment_captured", "order.canceled", "order.updated" , "order.swap_created",
            "order.refund_failed", "order.refund_created" , "order.return_action_required", "order.items_  returned",
            "order.fulfillment_canceled"
          ]
    }
  • add local package using npm link with backend repo
  • setup REDIS_URL in projectConfig, For notification queue

Resources

About

Medusa Hackathon Submission

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published