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
- Host: GitHub
- URL: https://github.com/abhinavkrin/rocketchat-razorpay-app
- Owner: abhinavkrin
- Created: 2023-10-01T17:07:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-03T11:32:18.000Z (over 1 year ago)
- Last Synced: 2025-04-10T23:05:09.472Z (about 2 months ago)
- Topics: razorpay, rocketchat, rocketchat-app
- Language: TypeScript
- Homepage:
- Size: 48.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```