Hallo,
wenn man auf meiner Shopware 6 Instanz eine Bestellung tätigt, kommt folgender Fehler in den Logs.
[2019-09-29 12:37:13] app.DEBUG: [PayPal Webhook] Received webhook {"payload":{"id":"WH-1A5493073P539340M-2SX14051HE295560R","event_version":"1.0","create_time":"2019-09-29T12:37:05.121Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for EUR 132.45 EUR","resource":{"id":"1RV52308TJ089503H","state":"completed","amount":{"total":"132.45","currency":"EUR","details":{"subtotal":"129.95","shipping":"2.50"}},"payment_mode":"INSTANT_TRANSFER","protection_eligibility":"ELIGIBLE","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","transaction_fee":{"value":"2.87","currency":"EUR"},"invoice_number":"","parent_payment":"PAYID-LWIKKWA26G92112SG541315U","create_time":"2019-09-29T12:37:01Z","update_time":"2019-09-29T12:37:01Z","links":[{"href":"https://api.sandbox.paypal.com/v1/payments/sale/1RV52308TJ089503H","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/sale/1RV52308TJ089503H/refund","rel":"refund","method":"POST"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LWIKKWA26G92112SG541315U","rel":"parent_payment","method":"GET"}]},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1A5493073P539340M-2SX14051HE295560R","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1A5493073P539340M-2SX14051HE295560R/resend","rel":"resend","method":"POST"}]}} []
[2019-09-29 12:37:13] php.CRITICAL: Class 'Swag\PayPal\PayPal\Api\Webhook\Resource\Amount\Details' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'Swag\\PayPal\\PayPal\\Api\\Webhook\\Resource\\Amount\\Details' not found at /var/www/reiterstolz/shopware6/custom/plugins/SwagPayPal/src/PayPal/Api/Common/PayPalStruct.php:99)"} []
[2019-09-29 12:37:14] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "Details" from namespace "Swag\PayPal\PayPal\Api\Webhook\Resource\Amount". Did you forget a "use" statement for e.g. "Swag\PayPal\PayPal\Api\Common\Details", "Swag\PayPal\PayPal\Api\DoVoid\Amount\Details", "Swag\PayPal\PayPal\Api\Payment\Transaction\RelatedResource\Sale\Amount\Details", "Swag\PayPal\PayPal\Api\Payment\Transaction\RelatedResource\Order\Amount\Details", "Swag\PayPal\PayPal\Api\Payment\Transaction\RelatedResource\Authorization\Amount\Details", "Swag\PayPal\PayPal\Api\Payment\Transaction\RelatedResource\Capture\Amount\Details" or "Swag\PayPal\PayPal\Api\Payment\Transaction\Amount\Details"?" at /var/www/reiterstolz/shopware6/custom/plugins/SwagPayPal/src/PayPal/Api/Common/PayPalStruct.php line 99 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"Details\" from namespace \"Swag\\PayPal\\PayPal\\Api\\Webhook\\Resource\\Amount\".\nDid you forget a \"use\" statement for e.g. \"Swag\\PayPal\\PayPal\\Api\\Common\\Details\", \"Swag\\PayPal\\PayPal\\Api\\DoVoid\\Amount\\Details\", \"Swag\\PayPal\\PayPal\\Api\\Payment\\Transaction\\RelatedResource\\Sale\\Amount\\Details\", \"Swag\\PayPal\\PayPal\\Api\\Payment\\Transaction\\RelatedResource\\Order\\Amount\\Details\", \"Swag\\PayPal\\PayPal\\Api\\Payment\\Transaction\\RelatedResource\\Authorization\\Amount\\Details\", \"Swag\\PayPal\\PayPal\\Api\\Payment\\Transaction\\RelatedResource\\Capture\\Amount\\Details\" or \"Swag\\PayPal\\PayPal\\Api\\Payment\\Transaction\\Amount\\Details\"? at /var/www/reiterstolz/shopware6/custom/plugins/SwagPayPal/src/PayPal/Api/Common/PayPalStruct.php:99)"} []
[2019-09-29 12:37:16] request.INFO: Matched route "paypal.webhook.execute". {"route":"paypal.webhook.execute","route_parameters":{"_route":"paypal.webhook.execute","_controller":"Swag\\PayPal\\Webhook\\WebhookController::executeWebhook"},"request_uri":"https://sw.reiterstolz.com/paypal/webhook/execute?sw-token=267wIOA4RlME4EjsFrK7Gah3n0ax2cUX","method":"POST"} []
[2019-09-29 12:37:16] php.INFO: User Deprecated: Auto-injection of the container for "Swag\PayPal\Webhook\WebhookController" is deprecated since Symfony 4.2. Configure it as a service instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-injection of the container for \"Swag\\PayPal\\Webhook\\WebhookController\" is deprecated since Symfony 4.2. Configure it as a service instead. at /var/www/reiterstolz/shopware6/vendor/symfony/framework-bundle/Controller/ControllerResolver.php:64)"} []
Ich erhalte ebenfalls keine E-Mail, egal ob als Bestellbestätigung oder Zahlungseintritt: Bezahlt. Die Verkaufskanäle sind richtig konfiguriert. Versuche ich eine Test-Mail zu senden erhalte ich folgende Fehler im Log:
2019-09-29 12:45:19] request.INFO: Matched route "api.action.mail_template.send". {"route":"api.action.mail_template.send","route_parameters":{"_route":"api.action.mail_template.send","_controller":"Shopware\\Core\\Content\\MailTemplate\\Api\\MailActionController::send","version":"1"},"request_uri":"https://sw.reiterstolz.com/api/v1/_action/mail-template/send","method":"POST"} []
[2019-09-29 12:45:19] app.ERROR: Could not render Mail-Template with error message: Failed rendering string template using Twig: An exception has been thrown during the rendering of a template ("Error while processing Twig currency filter. No context or locale given.") in "04e9ea284bdfc67bad24856e651c7179" at line 15. Error Code:0 Template source:
Außerdem erhalte ich folgenden Fehler, wenn ich eine Rechnung über die Administration erstellen möchte
[2019-09-29 12:48:44] request.INFO: Matched route "api.action.document.invoice". {"route":"api.action.document.invoice","route_parameters":{"_route":"api.action.document.invoice","_controller":"Shopware\\Core\\Checkout\\Document\\DocumentGeneratorController::createDocument","version":"1","orderId":"b1e0dad7abfa4b8bb1e6d70ab00eefd4","documentTypeName":"invoice"},"request_uri":"https://sw.reiterstolz.com/api/v1/_action/order/b1e0dad7abfa4b8bb1e6d70ab00eefd4/document/invoice","method":"POST"} []
[2019-09-29 12:48:44] php.WARNING: Notice: Undefined index: extensions {"exception":"[object] (ErrorException(code: 0): Notice: Undefined index: extensions at /var/www/reiterstolz/shopware6/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:358)"} []
[2019-09-29 12:48:44] php.CRITICAL: array_key_exists() expects parameter 2 to be array, null given {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): array_key_exists() expects parameter 2 to be array, null given at /var/www/reiterstolz/shopware6/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:362)"} []
Vielen Dank für Ihre Hilfe im vorraus