A comprehensive SMS extension for Paymenter that allows you to send SMS messages to your customers using the Twilio API. Features advanced template system, retry functionality, and complete SMS management.
## β¨ Features
Multi-Channel Messaging
Send notifications via: [LIST]
SMS only
WhatsApp only
Both SMS & WhatsApp
Unified βSend Notifications Viaβ dropdown for easy control
Dedicated WhatsApp number field (falls back to SMS number if not provided) [/LIST]
1. Go to your Paymenter admin panel 2. Navigate to Extensions 3. Find "SMS Twilio" in the list 4. Click "Enable"
### Step 4: Configure Settings
1. Go to Extensions β SMS Twilio β Settings - Send Notifications Via: Select Whatsapp / SMS or Both - Enter Whatsapp Number or SMS Number 2. Enter your Twilio credentials: - Twilio Account SID: Your Twilio Account SID - Twilio Auth Token: Your Twilio Auth Token - Twilio Phone Number: Your Twilio phone number (e.g., +1234567890) - Twilio Messaging Service SID: (Optional) Your Messaging Service SID for better delivery
### Step 5: Access SMS Interface
1. Go to Admin Panel β Communication β Send SMS 2. Start sending SMS messages to your customers
## π± Usage
### Sending Individual SMS
[COLOR=rgb(0, 0, 0)]1. Go to Admin Panel β Communication β Send SMS 2. Click "Send SMS" button 3. Select a user from the dropdown 4. Enter phone number (if different from user's phone) 5. Choose a template or write a custom message 6. Fill in template variables (if using a template) 7. Click "Create" to send[/COLOR]
### Creating SMS Templates
[COLOR=rgb(0, 0, 0)]1. Go to Admin Panel β Communication β SMS Templates 2. Click "Create Template" 3. Fill in template details: - Template Name: e.g., "Welcome Message" - Subject: Brief description - Message Content: Use variables like {name}, {amount}, {date} - Variables: Define available variables 4. Save the template
[COLOR=rgb(0, 0, 0)]Example template: Welcome {name}! Your order #{order_id} for {amount} has been confirmed. Thank you for choosing {company}![/COLOR]
Retrying Failed Messages
[COLOR=rgb(0, 0, 0)]1. Go to Admin Panel β Communication β Send SMS 2. Find failed messages (marked with red status) 3. Click the "Retry" button next to the failed message 4. The system will attempt to resend the SMS[/COLOR][/COLOR]
## Configuration
The extension uses Paymenter's built-in configuration system. All settings are managed through the Extensions interface in your admin panel.
<span style="color:rgb(0, 0, 0)">Auto-redirect: Automatically returns to SMS list after sending</span>
<span style="color:rgb(0, 0, 0)">Hidden Status Field: Status is managed automatically behind the scenes</span>
<span style="color:rgb(0, 0, 0)">Real-time Feedback: Live character counting and instant notifications</span>
<span style="color:rgb(0, 0, 0)">Clean Form: No unnecessary fields cluttering the interface</span>
[COLOR=rgb(0, 0, 0)]## π οΈ Troubleshooting
### Common Issues
1. SMS /Whatsapp not sending: - Check Twilio credentials in extension settings - Verify phone number format (+1234567890) - Check Twilio account balance
2. Template variables not working: - Ensure JSON format is correct: {"name": "John", "amount": "$99"} - Check variable names match template placeholders
3. Character count not updating: - Refresh the page - Check browser console for JavaScript errors
4. "Sent from your Twilio trial account" message: - This is automatically added by Twilio for trial accounts - Upgrade to a paid Twilio account to remove this message - Add payment method in Twilio Console β Billing
### Debug Information
Access debug information at: /admin/sms/debug
## [/COLOR]π[COLOR=rgb(0, 0, 0)]Support
For support with this extension:
1. Check the SMS logs for error messages 2. Verify your Twilio account status and balance 3. Ensure your Twilio credentials are correct 4. Check Paymenter logs for any errors 5. Use the debug route for configuration verification