WP SmartPay Pro can send real-time payment notifications to Slack channels, Telegram chats, and phone numbers via SMS (Twilio) — so you and your team know the moment a sale comes in.
Slack Integration
Setting Up
- Go to api.slack.com/apps and create a new app (or use an existing one).
- Under Incoming Webhooks, activate webhooks and click Add New Webhook to Workspace.
- Select the channel to post to and authorize. Copy the webhook URL.
- In WordPress, go to SmartPay → Extensions → Slack → Settings.
- Paste the webhook URL and save.
What Gets Sent
For each completed payment, SmartPay posts a message containing:
- Customer name and email
- Payment amount and currency
- Form/product name
- Gateway used (Stripe, PayPal, etc.)
- Direct link to the payment in the SmartPay admin
Filtering Which Events to Send
In the Slack settings, choose which events trigger a notification:
- Payment completed ✓
- Payment failed
- Subscription created
- Subscription cancelled
- Refund issued
Telegram Integration
Setting Up
- Open Telegram and message @BotFather. Send
/newbotand follow the prompts to get a bot token. - Start a conversation with your new bot (or add it to a group/channel). Get the Chat ID — the easiest way is to send a message, then visit
https://api.telegram.org/bot{YOUR_TOKEN}/getUpdatesand findchat.idin the JSON. - In WordPress, go to SmartPay → Extensions → Telegram → Settings.
- Enter your Bot Token and Chat ID. Save.
Example Notification
💰 New Payment Received
Customer: Jane Smith ([email protected])
Amount: $49.00 USD
Product: Figma UI Kit
Gateway: Stripe
Status: Completed
View: https://yoursite.com/wp-admin/admin.php?page=smartpay-payment&id=1234
Twilio SMS Integration
Setting Up
- Create an account at twilio.com if you don't have one.
- From the Twilio Console, get your Account SID, Auth Token, and a Twilio phone number.
- In WordPress, go to SmartPay → Extensions → Twilio → Settings.
- Enter your Account SID, Auth Token, from-number, and the recipient number (your phone or a team number).
- Save and make a test payment to confirm SMS delivery.
SMS Message Format
Messages are sent as plain text and kept short for SMS compatibility:
SmartPay: New $49.00 payment from [email protected] for Figma UI Kit. Gateway: Stripe. #1234
Tips
- Route different events to different channels: Create multiple Slack webhooks pointing to different channels — one for sales (#sales-alerts), one for failures (#payment-failures) — and configure each in a separate webhook.
- Don't send test mode payments to Slack: In the Slack settings, enable the option to suppress test-mode notifications so your sales channel only shows real payments.
- Telegram for mobile teams: Telegram is especially useful if your team is mobile-first — the Telegram bot posts instantly and supports group chats with no per-message cost.