1.2.9 • Published 12 months ago

medusa-plugin-twilio-sms v1.2.9

Weekly downloads
17
License
AGPL-3.0-or-later
Repository
github
Last release
12 months ago

Twilio SMS

Utilize Twilio's SMS APIs to send customers SMS notifications.

Twilio SMS Plugin Documentation | Medusa Website | Medusa Repository

Features

  • Access Twilio's SMS APIs easily using the TwilioSmsService.

Prerequisites


How to Install

1. Run the following command in the directory of the Medusa backend:

npm install medusa-plugin-twilio-sms

2. Set the following environment variable in .env:

TWILIO_SMS_ACCOUNT_SID=<YOUR_ACCOUNT_SID>
TWILIO_SMS_AUTH_TOKEN=<YOUR_AUTH_TOKEN>
TWILIO_SMS_FROM_NUMBER=<YOUR_TWILIO_NUMBER>

3. In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...
  {
    resolve: `medusa-plugin-twilio-sms`,
    options: {
      account_sid: process.env.TWILIO_SMS_ACCOUNT_SID,
      auth_token: process.env.TWILIO_SMS_AUTH_TOKEN,
      from_number: process.env.TWILIO_SMS_FROM_NUMBER,
    },
  },
]

Test the Plugin

In your code, use the TwilioSmsService where necessary to send your customers notifications.


Additional Resources

1.2.9

12 months ago

1.2.8-rc.0

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.5-alpha.0

3 years ago

1.2.4

3 years ago

1.2.4-alp.0

3 years ago

1.2.4-nxt.0

3 years ago

1.2.4-next.0

3 years ago

1.2.4-alpha.0

3 years ago

1.2.4-test.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

2.0.0-next.0

3 years ago

1.2.1-next.44

3 years ago

1.2.1-next.41

3 years ago

1.2.1-next.101

3 years ago

1.2.1-next.100

3 years ago

1.2.1-next.108

3 years ago

1.2.1-next.24

3 years ago

1.2.1-nxt.129

3 years ago

1.2.1-next.27

3 years ago

1.2.1-next.26

3 years ago

1.2.1-next.35

3 years ago

1.2.1-nxt.130

3 years ago

1.2.0

3 years ago

1.1.38

3 years ago

1.2.1-next.14

3 years ago

1.1.39-next.0

3 years ago

1.1.38-dev.119

3 years ago

1.1.38-dev.113

3 years ago

1.1.38-dev.122

3 years ago

1.1.34

4 years ago

1.1.37

4 years ago

1.1.36

4 years ago

1.1.35

4 years ago

1.1.30

4 years ago

1.1.33

4 years ago

1.1.32

4 years ago

1.1.31

4 years ago

1.1.29

4 years ago

1.1.26-next.46

4 years ago

1.1.28-next.0

4 years ago

1.1.26-next.19

4 years ago

1.1.25-meilis.0

4 years ago

1.1.24-meilis.37

4 years ago

1.1.24-meili.42

4 years ago

1.1.26

4 years ago

1.1.24-meili.40

4 years ago

1.1.24-meili.41

4 years ago

1.1.24-meili.37

4 years ago

1.1.24-next.40

4 years ago

1.1.25

4 years ago

1.1.24

4 years ago

1.1.24-next.36

4 years ago

1.1.23

4 years ago

1.1.22

4 years ago

1.1.18-next.16

4 years ago

1.1.21

4 years ago

1.1.20

4 years ago

1.1.18-alpha.6

4 years ago

1.1.18-alpha.9

4 years ago

1.1.19

4 years ago

1.1.18

4 years ago

1.1.18-next.10

4 years ago

1.1.18-next.7

4 years ago

1.1.18-alpha.4

4 years ago

1.1.12-next.9

4 years ago

1.1.14-next.0

4 years ago

1.1.17

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10-next.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.8-next.5

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4-next.23

4 years ago

1.1.4-alpha.16

4 years ago

1.1.3

4 years ago

1.1.3-next.23

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.11-alpha.186

4 years ago

1.0.11-alpha.177

4 years ago

1.0.11-alpha.35

5 years ago

1.0.12

5 years ago

1.0.11-alpha.33

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago