.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 sending failed: Authentication Error
All phone number detection tests passed
Sample webhook payload parsed successfully
SMS Results
nullwhat
WhatsApp Results
{
"success": false,
"message": "WhatsApp sending failed: Authentication Error",
"data": {
"error": {
"message": "Authentication Error",
"code": 190,
"type": "OAuthException",
"fbtrace_id": "AXOKJMnN88OfdYib4QKq5un"
}
}
}
📋 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