Git Product home page Git Product logo

medusa-notification-telegram's Introduction

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

medusa-notification-telegram's People

Contributors

sandeepscet avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.