Using Debug Flag
If you encounter payment issues:
- Go back to WooCommerce → Settings → Payments → Payment Plugin
- Enable Debug Flag option
- Attempt the payment again
- Check logs in Manage section for request/response details
- Review error codes and messages to identify the issue
Common Issues
- Invalid Merchant ID: Verify merchant credentials are correct
- API Key Error: Check API key hasn't expired
- Gateway Connection Failed: Ensure gateway URL is correct
- Payment Declined: Check customer card details and payment settings
Security Notes
- Always use HTTPS for payment gateway communication
- Keep API credentials secure and never share publicly
- Disable debug flag in production environments
- Regularly backup your database
- Keep WooCommerce and plugins updated