Built by

SGFGOV

Category

Other

Version

1.1.5

Last updated

Apr 28, 2023, 16:25:00 PMa month ago

Medusa-Plugin-Whatsapp

Bring two poplar platforms together

Getting started

Installation
yarn add medusa-plugin-whatsapp

Usage

Api

Configure the sandbox webhook to point to http://yourserver/whatsapp/received

License

Configuration

set the following environment variables. Please use production codes, Test codes don't work with the whatsapp sandbox ``` TWILIO_AUTH_SID= // it begins with AC TWILIO_AUTH_TOKEN=

Only for testing

TEST_SEND_NUMBER= TEST_RECIEVER_NUMBER= ```

in medusa-config.js

add to your plugins list ``` ///...other plugins { resolve:"medusa-plugin-whatsapp": { options:{ account_sid: process.env.TWILIO_AUTH_SID, auth_token: process.env.TWILIO_AUTH_TOKEN, whatsappHandlerInterface:"nameOftheHandlerService" } }
}
```

Build your own plugins

Develop your own plugins with our API to speed up your processes.

Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.