PayPal, Bestellbestätigung und Rechnungsfehler

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

Bist Du mit SW6 schon live?

Der Fehler kommt vom Mailversand wie mir aussieht. Nimm mal die Bestellbestätigung raus aus dem Sales Channel und teste mal. 

@Moritz Naczenski schrieb:

Der Fehler kommt vom Mailversand wie mir aussieht. Nimm mal die Bestellbestätigung raus aus dem Sales Channel und teste mal. 

Also, ich habe die Bestellbestätigung aus dem Sales Channel rausgenommen und getestet. Ich habe wie davor keine E-Mail bekommen.

In dem Log kam folgender Eintrag:

[2019-09-29 14:52:16] app.DEBUG: [PayPal Webhook] Received webhook {"payload":{"id":"WH-27U55636YU6687921-6T869412NX723025F","event_version":"1.0","create_time":"2019-09-29T14:51:45.374Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for EUR 132.45 EUR","resource":{"id":"63R932165K505963S","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-LWIMJUQ14L77597XF508520C","create_time":"2019-09-29T14:51:41Z","update_time":"2019-09-29T14:51:41Z","links":[{"href":"https://api.sandbox.paypal.com/v1/payments/sale/63R932165K505963S","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/sale/63R932165K505963S/refund","rel":"refund","method":"POST"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LWIMJUQ14L77597XF508520C","rel":"parent_payment","method":"GET"}]},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-27U55636YU6687921-6T869412NX723025F","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-27U55636YU6687921-6T869412NX723025F/resend","rel":"resend","method":"POST"}]}} []
[2019-09-29 14:52:16] 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 14:52:16] 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)"} []

 Und als ich versuchte eine Rechnung zu erstellen (über die Administration) kam folgender Fehler.

[2019-09-29 14:52:35] 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":"23f75535ed0c4d7786824574b340dd17","documentTypeName":"invoice"},"request_uri":"https://sw.reiterstolz.com/api/v1/_action/order/23f75535ed0c4d7786824574b340dd17/document/invoice","method":"POST"} []
[2019-09-29 14:52:35] 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 14:52:35] 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)"} []

So ungefähr 30-60 Sekunden spätrer tauchte dann noch folgendes im Log auf:

[2019-09-29 14:53:15] app.DEBUG: [PayPal Webhook] Received webhook {"payload":{"id":"WH-1D214330KB317942V-68R44646TD0898828","event_version":"1.0","create_time":"2019-09-29T14:51:33.231Z","resource_type":"payment","event_type":"PAYMENTS.PAYMENT.CREATED","summary":"Checkout payment is created and approved by buyer","resource":{"update_time":"2019-09-29T14:51:33Z","create_time":"2019-09-29T14:50:58Z","redirect_urls":{"return_url":"https://www.example.com/?paymentId=PAYID-LWIMJUQ14L77597XF508520C","cancel_url":"https://www.example.com/?cancel=1"},"links":[{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LWIMJUQ14L77597XF508520C","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LWIMJUQ14L77597XF508520C/execute","rel":"execute","method":"POST"},{"href":"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-7NS64169TX9442827","rel":"approval_url","method":"REDIRECT"}],"id":"PAYID-LWIMJUQ14L77597XF508520C","state":"created","transactions":[{"amount":{"total":"132.45","currency":"EUR","details":{"subtotal":"129.95","tax":"0.00","shipping":"2.50"}},"payee":{"merchant_id":"3KSB3XQQAX7W4","email":"invoice-facilitator@reiterstolz.com"},"item_list":{"items":[{"name":"Herrenreithose R1 - Dunkelblau","sku":"RS10001.3","price":"129.95","currency":"EUR","tax":"0.00","quantity":1}],"shipping_address":{"recipient_name":"test buyer","line1":"Wilhelm-Umbach Straße 15a","city":"Langen","state":"","postal_code":"6322","country_code":"DE","default_address":false,"preferred_address":false,"primary_address":false,"disable_for_transaction":false},"shipping_phone_number":"015737958014"},"related_resources":[]}],"intent":"sale","payer":{"payment_method":"paypal","status":"VERIFIED","payer_info":{"email":"business-buyer@felix-schmid.de","first_name":"test","last_name":"buyer","payer_id":"ZXUDA3H8A6NM6","shipping_address":{"recipient_name":"test buyer","line1":"Wilhelm-Umbach Straße 15a","city":"Langen","state":"","postal_code":"6322","country_code":"DE","default_address":false,"preferred_address":false,"primary_address":false,"disable_for_transaction":false},"country_code":"DE"}},"cart":"7NS64169TX9442827"},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1D214330KB317942V-68R44646TD0898828","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1D214330KB317942V-68R44646TD0898828/resend","rel":"resend","method":"POST"}]}} []
[2019-09-29 14:53:15] app.ERROR: [PayPal Webhook] The specified event-type does not exist. {"type":"PAYMENTS.PAYMENT.CREATED","webhook":"{\"id\":\"WH-1D214330KB317942V-68R44646TD0898828\",\"resource_type\":\"payment\",\"event_type\":\"PAYMENTS.PAYMENT.CREATED\",\"summary\":\"Checkout payment is created and approved by buyer\",\"resource\":{\"parent_payment\":null}}"} []
[2019-09-29 14:53:15] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "An error occurred during execution of webhook" at /var/www/reiterstolz/shopware6/custom/plugins/SwagPayPal/src/Webhook/WebhookController.php line 137 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\BadRequestHttpException(code: 0): An error occurred during execution of webhook at /var/www/reiterstolz/shopware6/custom/plugins/SwagPayPal/src/Webhook/WebhookController.php:137)"} []
[2019-09-29 14:53:34] 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 14:53:34] 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)"} []
[2019-09-29 14:53:34] app.DEBUG: #1 Rule detection: Cart >= 0 with priority 100 [] []
[2019-09-29 14:53:34] app.DEBUG: #2 Rule detection: Customers from USA with priority 100 [] []
[2019-09-29 14:53:34] app.DEBUG: #3 Rule detection: Cart >= 0 (Payment) with priority 100 [] []
[2019-09-29 14:53:34] app.DEBUG: #4 Rule detection: Sunday sales with priority 2 [] []
[2019-09-29 14:53:34] app.DEBUG: #5 Rule detection: PayPalPuiAvailabilityRule with priority 1 [] []
[2019-09-29 14:53:34] app.DEBUG: #6 Rule detection: All customers with priority 1 [] []
[2019-09-29 14:53:34] app.DEBUG: [PayPal Webhook] Received webhook {"payload":{"id":"WH-27U55636YU6687921-6T869412NX723025F","event_version":"1.0","create_time":"2019-09-29T14:51:45.374Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for EUR 132.45 EUR","resource":{"id":"63R932165K505963S","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-LWIMJUQ14L77597XF508520C","create_time":"2019-09-29T14:51:41Z","update_time":"2019-09-29T14:51:41Z","links":[{"href":"https://api.sandbox.paypal.com/v1/payments/sale/63R932165K505963S","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/sale/63R932165K505963S/refund","rel":"refund","method":"POST"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LWIMJUQ14L77597XF508520C","rel":"parent_payment","method":"GET"}]},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-27U55636YU6687921-6T869412NX723025F","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-27U55636YU6687921-6T869412NX723025F/resend","rel":"resend","method":"POST"}]}} []
[2019-09-29 14:53:34] 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 14:53:34] 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)"} []

Als zwei Nachrichten, weil eine Nachricht zu lang ist.

Ich hätte es eigentlich ganz gerne so, dass bei erfolgreicher Bezahlung eine Bestellbestätigung mit Rechnung an den Kunden gesendet wird.

Mfg

Felix

@NextMike schrieb:

Bist Du mit SW6 schon live?

Nein, noch nicht. Da das ganze aber ein recht kleines Unternehmen ohne viel Trafic ist, würde ich gang gerne mit Absprache des Unternehmens schon vor dem ofiziellen Release von SW6 online gehen. 

Hallo Felix,

dieser Fehler ist bereits behoben.

Siehe auch Github PT-10821 - Add missing webhook resource classes; Fix webhook execute … · shopwareLabs/SwagPayPal@63c4ab7 · GitHub

Mit den kommenden EA2 Release von Shopware 6 werden wir auch wieder eine neue Version vom PayPal Plugin releasen. Dort wird dieser Fehler dann behoben sein.

Viele Grüße aus Schöppingen

cool Michael Telgmann

1 „Gefällt mir“

Hi, vielen Dank!

Gibt es denn schon ein ungefähres Release-Datum von der EA2?=

Und ist es möglich automatisch eine Rechnung zu erstellen, wenn ein Kunde etwas einkäuft? Weil dort kam ja bei mir auch immer ein Fehler. (Also wenn ich die Rechnung manuell erstellt habe):

[2019-09-29 14:52:35] 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":"23f75535ed0c4d7786824574b340dd17","documentTypeName":"invoice"},"request_uri":"https://sw.reiterstolz.com/api/v1/_action/order/23f75535ed0c4d7786824574b340dd17/document/invoice","method":"POST";} []
[2019-09-29 14:52:35] 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 14:52:35] 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)"} []

 

Hallo Felix,

zum Release hatte Moritz schon etwas an anderer Stelle geschrieben: https://forum.shopware.com/discussion/comment/255745/#Comment_255745

Zum Thema Dokumente: Ich nehme an, dass du auf einer EA1.1 unterwegs bist? Hier würde ich vielleicht auch auf die EA2 warten, da sich auch in dem Bereich einiges getan hat. Gerade unter der Haube. Vielleicht hat sich auch dann dieses Problem erledigt. Falls nicht, gerne wieder melden

Viele Grüße aus Schöppingen

cool Michael Telgmann