{"data": {"error": "Failed to create license in database: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`proviska_ai`.`licenses`, CONSTRAINT `licenses_ibfk_1` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`payment_id`) ON DELETE SET NULL)", "trace": "#0 /var/www/html/proviska-ai/lib/AppSumoService.php(57): AppSumoService->createLicense()\n#1 /var/www/html/proviska-ai/api/appsumo-test.php(106): AppSumoService->processLicenseActivation()\n#2 /var/www/html/proviska-ai/api/appsumo-test.php(33): simulateWebhookCall()\n#3 {main}", "source": "webhook"}, "event": "LICENSE_ACTIVATION_ERROR", "license_key": "CMDSHARP-****"}