FAQ
Troubleshooting
Common issues and solutions.
Invalid Signature Error
Problem: Receiving "Invalid signature" error
Solutions:
- Check that your API secret is correct
- Verify timestamp is current (within 5 minutes)
- Ensure signature includes
sha256=prefix - Verify message construction (method + path + body + timestamp)
Payment Not Found
Problem: "Payment not found" error when retrieving payment
Solutions:
- Verify payment ID is correct
- Ensure payment belongs to your merchant account
- Check that you're using the correct API key
Webhook Not Received
Problem: Not receiving webhook events
Solutions:
- Verify webhook endpoint is publicly accessible (not localhost)
- Check webhook URL is registered correctly
- Verify webhook endpoint returns 200 OK
- Check webhook logs in dashboard
- Ensure endpoint responds within 30 seconds
Rate Limit Exceeded
Problem: Receiving rate limit errors
Solutions:
- Reduce request frequency
- Implement request queuing
- Wait until rate limit resets (typically resets every minute)
- Contact support for higher limits if needed
Insufficient Funds
Problem: Withdraw fails with "Insufficient funds"
Solutions:
- Check your One2Pays wallet balance
- Ensure sufficient balance before creating withdraws
- Wait for incoming payments to settle
Payment Stuck in Processing
Problem: Payment remains in "processing" status
Solutions:
- Wait a few minutes (some payment methods take time)
- Check webhook events for updates
- Poll payment status periodically
- Contact support if payment is stuck for >30 minutes