Troubleshooting¶
This guide helps you diagnose and resolve common issues with the Innosend Magento 2 integration.
Quick Diagnostics¶
Module Status Check¶
Verify all modules are installed and enabled:
Expected output:
API Connection Test¶
Test your API connection via URL:
Or via admin: Stores → Configuration → Innosend → API Configuration → Test API Token Connection
Common Issues¶
Installation Issues¶
Modules Not Found After Composer Require¶
Symptoms:
- composer require innosend/magento2 fails
- Package not found errors
Solutions:
-
Verify repository is configured:
-
Re-add the repository if missing:
-
Verify authentication:
-
Clear Composer cache:
Setup Upgrade Fails¶
Symptoms:
- Database errors during setup:upgrade
- Schema update failures
Solutions:
- Check database permissions
- Run in verbose mode:
- Check
var/log/system.logfor details
API Connection Issues¶
Test API Token Connection Fails¶
Symptoms: - "Test API Token Connection" button returns error - API requests timeout or return 401/404
Possible Causes & Solutions:
| Cause | Solution |
|---|---|
| Invalid or expired token | Generate a new token in Dashboard → Settings → API Keys |
| Wrong mode | Check that Mode matches the token environment (Test/Live) |
| Token has leading/trailing spaces | Clear the field, re-enter, and save |
| Wrong endpoint URL | Confirm endpoint URLs match the selected mode |
| Firewall blocking | Ensure server can reach api.innosend.eu |
| SSL issues | Verify SSL certificates are valid |
| Timeout | Increase Request Timeout setting |
Debug Steps:
-
Test the token manually:
-
Check Magento logs:
API Returns 401 Unauthorized¶
Solutions:
- Generate a new API Token in the Innosend Dashboard
- Clear configuration cache:
- Re-enter the token in admin and save
Pickup Points Issues¶
Pickup Points Not Visible in Checkout¶
Symptoms: - Shipping method doesn't appear - No pickup points load
Checklist:
-
Innosend_PickupPointsmodule is enabled - Pickup Points enabled in configuration
- Shipping method enabled and configured
- Shipping address country is in allowed countries
- API Token is configured and valid
- Frontend cache is cleared
Solutions:
- Enable the shipping method:
- Go to Stores → Configuration → Sales → Shipping Methods
-
Enable Innosend Pickup Points
-
Clear frontend cache:
-
Deploy static content:
Pickup Points Not Loading (JavaScript Errors)¶
Symptoms: - Modal opens but no pickup points appear - Console shows JavaScript errors
Solutions:
- Check browser console for errors
- Verify JavaScript is compiled:
- Clear browser cache
- Check for JavaScript conflicts with other modules
Map Not Displaying¶
Symptoms: - List view works but map is blank - Map shows error
For OpenStreetMap:
- Verify internet connection (map tiles are external)
- Check CSP (Content Security Policy) allows tile servers
- Check browser console for blocked requests
For Google Maps:
- Verify API Key is correct
- Verify Map ID is created and entered
- Check Google Cloud Console for API errors
- Ensure Maps JavaScript API is enabled
- Verify API key restrictions allow your domain
Order Sync Issues¶
Orders Not Syncing¶
Symptoms: - Orders don't appear in Innosend Dashboard - No sync errors in logs
Checklist:
- Order Sync is enabled
- Automatic Sync is enabled
- API Token is valid and Test API Token Connection succeeds
Solutions:
- Verify configuration:
- Stores → Configuration → Innosend → Order Synchronization
-
Enable all sync options
-
Check cron is running:
-
Manually trigger sync (via cron):
Sync Fails with Error¶
Symptoms: - Orders fail to sync - Error messages in logs
Common Errors:
| Error | Solution |
|---|---|
Invalid order data |
Check order has complete address |
API rate limit exceeded |
Reduce sync frequency |
Connection timeout |
Increase timeout setting |
Authentication failed |
Verify API credentials |
Debug Steps:
-
Check detailed logs:
-
Test with a simple order (minimal products, standard address)
Cache Issues¶
Changes Not Appearing¶
Symptoms: - Configuration changes don't take effect - Old data still showing
Solution - Clear All Caches:
Or via admin: System → Cache Management → Flush Cache Storage
For Static Content:
rm -rf pub/static/frontend/*
rm -rf var/view_preprocessed/*
php bin/magento setup:static-content:deploy -f
Log Files¶
Important Log Locations¶
| Log | Location | Content |
|---|---|---|
| System Log | var/log/system.log |
General Innosend messages |
| Exception Log | var/log/exception.log |
PHP errors and exceptions |
| Debug Log | var/log/debug.log |
Detailed debug information |
Enabling Debug Mode¶
For more detailed logging:
Or add to app/etc/env.php:
Useful Log Commands¶
# Watch Innosend logs in real-time
tail -f var/log/system.log | grep -i innosend
# Search for errors
grep -i "error\|exception" var/log/system.log | grep -i innosend
# Last 100 Innosend entries
grep -i innosend var/log/system.log | tail -100
Support Information¶
Before Contacting Support¶
Gather this information:
-
Module versions:
-
Magento version:
-
PHP version:
-
Recent log entries:
-
Configuration export (without credentials):
- Screenshot of configuration pages
Contact Support¶
- Email: support@innosend.eu
- Dashboard: dashboard.innosend.eu
FAQ¶
General Questions¶
Q: Can I use the module with multiple stores? A: Yes, all settings support Magento's multi-store architecture. Configure per website or store view.
Q: Does the module work with custom checkout extensions?
A: The module is compatible with standard Magento checkout. For Hyvä Checkout, install innosend/magento2-checkout-hyva. Other custom checkouts may require additional customization.
Q: How often are pickup points updated? A: Pickup points are fetched in real-time from the Innosend API when a customer views the checkout.
Technical Questions¶
Q: Where is pickup point data stored? A: Pickup point data is stored in custom database tables and linked to quotes and orders via extension attributes.
Q: Can I customize the pickup point modal? A: Yes, the templates can be overridden in your theme. See the Developer Guide.
Q: How do I disable the map and show only the list? A: Set "Show Map" to "No" in the Pickup Points configuration.
Billing Questions¶
Q: Is API usage metered? A: Contact Innosend for details about your API plan and usage limits.
Q: Can I test without affecting my production account? A: Yes, use "Test" mode. Create a test API Token in the Innosend Dashboard under Settings → API Keys.