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

  1. Go to api.slack.com/apps and create a new app (or use an existing one).
  2. Under Incoming Webhooks, activate webhooks and click Add New Webhook to Workspace.
  3. Select the channel to post to and authorize. Copy the webhook URL.
  4. In WordPress, go to SmartPay → Extensions → Slack → Settings.
  5. 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

  1. Open Telegram and message @BotFather. Send /newbot and follow the prompts to get a bot token.
  2. 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}/getUpdates and find chat.id in the JSON.
  3. In WordPress, go to SmartPay → Extensions → Telegram → Settings.
  4. Enter your Bot Token and Chat ID. Save.

Example Notification

💰 New Payment Received

Customer: Jane Smith (jane@example.com)
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

  1. Create an account at twilio.com if you don't have one.
  2. From the Twilio Console, get your Account SID, Auth Token, and a Twilio phone number.
  3. In WordPress, go to SmartPay → Extensions → Twilio → Settings.
  4. Enter your Account SID, Auth Token, from-number, and the recipient number (your phone or a team number).
  5. 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 jane@example.com 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.