=== Loyverse Integration Setup === ✅ Environment variables configured ✅ Database connection successful ✅ Loyverse API connection successful Stores found: 3 ✅ Logs directory exists ✅ Loyverse sync service initialized === Testing API Endpoints === ✅ health endpoint working ✅ loyverse-connection endpoint working ✅ loyverse-sync endpoint working === Cron Job Setup === Add this to your crontab for automatic sync every 5 minutes: */5 * * * * curl -H "X-Cron-Key: D$#KQ$0yn%9@lcflOrz@PRBqg8mpwQRW@G#Y2UXx8o*VW1m%l!dyVlAsWk2a@Rj0" "https://dev.pwltt.co.za/php-dashboards/api/cron/loyverse-sync" >/dev/null 2>&1 Or for cPanel cron jobs, use this URL: https://dev.pwltt.co.za/php-dashboards/api/cron/loyverse-sync With header: X-Cron-Key: D$#KQ$0yn%9@lcflOrz@PRBqg8mpwQRW@G#Y2UXx8o*VW1m%l!dyVlAsWk2a@Rj0 === Manual Sync Test === Would you like to run a test sync now? (y/n):