.env file found and loaded successfully
All required files are present
All required PHP extensions are loaded
All environment variables are configured
✓
METER_API_URL
https://server-newv.stronpower.com/api/VendingMeter
✓
METER_COMPANY_NAME
STEPHENNJERU
✓
METER_USERNAME
STEPHENNJERU
✓
AFRICASTALKING_API_KEY
atsk*********************************************************************c806
✓
AFRICASTALKING_USERNAME
NomNom_Pos
✓
WHATSAPP_PHONE_NUMBER_ID
1006747622520633
✓
WHATSAPP_ACCESS_TOKEN
EAAa******************************************************************************************************************************************************************************************************************************************YBXN
All meter ID validations passed
✓
Input:
'58103773683'
→
valid
(cleaned: '58103773683')
✓
Input:
' 58103773683 '
→
valid
(cleaned: '58103773683')
✓
Input:
'581 037 736 83'
→
valid
(cleaned: '58103773683')
✓
Input:
'ABC123'
→
invalid
(cleaned: 'ABC123')
✓
Input:
'123-456'
→
invalid
(cleaned: '123-456')
✓
Input:
'(empty)'
→
invalid
WhatsApp message sent successfully
All phone number detection tests passed
Sample webhook payload parsed successfully
SMS Results
nullwhat
WhatsApp Results
{
"success": true,
"message": "WhatsApp message sent successfully",
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "254712787719",
"wa_id": "254712787719"
}
],
"messages": [
{
"id": "wamid.HBgMMjU0NzEyNzg3NzE5FQIAERgSRUQ4Q0RGNUU0NjYxRTJBM0U4AA==",
"message_status": "accepted"
}
]
}
}
📋 Next Steps
- Ensure all environment variables are configured in your
.env file
- Deploy
webhook.php to your server and make it accessible via your webhook URL
- Test the webhook endpoint using the cURL commands provided in
README.md
- Monitor the response for token generation and notification delivery status
- Implement webhook signature validation for production use