An open API service indexing awesome lists of open source software.

https://github.com/abhinavkrin/rocketchat-razorpay-app

Get Razorpay payment notification right into your RocketChat channel
https://github.com/abhinavkrin/rocketchat-razorpay-app

razorpay rocketchat rocketchat-app

Last synced: about 2 months ago
JSON representation

Get Razorpay payment notification right into your RocketChat channel

Awesome Lists containing this project

README

        

# Razorpay Payments Notification
Get notified about Razorpay payments right into your RocketChat channel.

# Guides
## Admin Setup
### Deploy to RocketChat
```
rc-apps deploy --url --username --password
```
### Setting up webhook
You can find the webhook URL on the settings page of the app.
Set the webhook URL on the Razorpay dashboard with `payment.authorized` event.
**The webhook URL is unique and is different for each installation**. Therefore, change the webhook in razorpay if you reinstall the app.
## Allow only specific users or roles
You can go to App settings and set the users or roles that could subscribe a room to Razorpay notification.

## Subscribe to Razorpay payment notifications
In a room execute the slash command
```
/razorpay subscribe
```
The room will then receive notification messages for successful payments

## Unsubscribe to Razorpay payment notifications
In a room execute the slash command
```
/razorpay unsubscribe
```