System Diagnostics
Step-by-step testing to identify where the 500 error is happening
Diagnostic Steps
Troubleshooting Guide
If "Backend Function" step fails:
- Go to Dashboard → Code → Functions
- Create the missing function (simpleHealthCheck or testPesapalConnection)
- Make sure the function code is deployed
If "PaymentConfig" step fails:
- Go to PesaPal Settings
- Enter your Consumer Key and Consumer Secret
- Make sure to click "Save Settings"
- Toggle "Active" to ON
If getting 500 errors:
- Check the exact step where it fails
- Expand "Debug Details" to see what went wrong
- Go to Dashboard → Code → Functions → [Function Name] → Logs to see backend errors