﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
2099	Paypal Plus Link verursacht warnings beim bezahlen	FräuleinGarn	Gerhard Waldemair	"Ein per Mail zugesendeter Paypal Plus Link kann nicht abgeschlossen werden.

- Link in Mail anklicken
- Weiterleitung zu Shop der mit PHP 8 läuft
- Weiterleitung zu Paypal und dort bestätigen führt zur logoff Seite im Shop und es wird keine Bezahlung durchgeführt

Paypal Modulversion 1.64

Folgende logs werden erzeugt:

mod_warning.log

{{{
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Undefined array key ""customers_status"" in File: /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/source/boxes/categories.php on Line: 28	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #0 - /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/source/boxes.php called at Line 59	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #1 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 69	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Undefined array key ""customers_status"" in File: /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/source/boxes/infobox.php on Line: 27	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #0 - /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/source/boxes.php called at Line 75	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #1 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 69	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Undefined array key ""customers_status"" in File: /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/source/boxes.php on Line: 108	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #0 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 69	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Undefined array key ""customers_status"" in File: /var/www/clients/client1/web5/web/templates/tpl_modified_responsive_1/css/general.css.php on Line: 19	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #0 - /var/www/clients/client1/web5/web/includes/header.php called at Line 112	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #1 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 73	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Undefined array key ""customers_status"" in File: /var/www/clients/client1/web5/web/includes/application_bottom.php on Line: 29	{}	{}
[2021-09-28 08:24:07]	[warning]	[modified]	[pid:2618]	Backtrace #0 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 133	{}	{}
[2021-09-28 08:24:39]	[warning]	[modified]	[pid:2646]	WARNING found for URL: /callback/paypal/paypalpluslink.php?oID=1874&key=935e79f163cbadb7d2bc156610fc6e96&paymentId=PAYID-MFJLKBY5WV62229NL354812D&token=EC-9MF43114T86491546&PayerID=2MQCQMPT9JARN	{}	{}
[2021-09-28 08:24:39]	[warning]	[modified]	[pid:2646]	Undefined array key ""customer_id"" in File: /var/www/clients/client1/web5/web/includes/external/paypal/classes/PayPalPaymentBase.php on Line: 401	{}	{}
[2021-09-28 08:24:39]	[warning]	[modified]	[pid:2646]	Backtrace #0 - /var/www/clients/client1/web5/web/includes/external/paypal/classes/PayPalPayment.php called at Line 948	{}	{}
[2021-09-28 08:24:39]	[warning]	[modified]	[pid:2646]	Backtrace #1 - /var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php called at Line 55	{}	{}

}}}

Ich muss aber dazu sagen, dass ich in meinem Testshop teste und die Bestellnummer schon vergeben wurde und es dadurch auch zu folgenden Paypalfehlern kommt.

mod_paypal_debug.log


{{{
[2021-09-28 08:24:39]	[debug]	[paypal]	[pid:2646]	Execute	{}	{""message"":""Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D/execute."",""code"":400,""file"":""/var/www/clients/client1/web5/web/includes/external/paypal/lib/PayPal/Core/PayPalHttpConnection.php"",""line"":207,""trace"":[{""file"":""/var/www/clients/client1/web5/web/includes/external/paypal/lib/PayPal/Transport/PayPalRestCall.php"",""line"":78,""function"":""execute"",""class"":""PayPal\\Core\\PayPalHttpConnection"",""type"":""->""},{""file"":""/var/www/clients/client1/web5/web/includes/external/paypal/lib/PayPal/Common/PayPalResourceModel.php"",""line"":104,""function"":""execute"",""class"":""PayPal\\Transport\\PayPalRestCall"",""type"":""->""},{""file"":""/var/www/clients/client1/web5/web/includes/external/paypal/lib/PayPal/Api/Payment.php"",""line"":645,""function"":""executeCall"",""class"":""PayPal\\Common\\PayPalResourceModel"",""type"":""::""},{""file"":""/var/www/clients/client1/web5/web/includes/external/paypal/classes/PayPalPayment.php"",""line"":943,""function"":""execute"",""class"":""PayPal\\Api\\Payment"",""type"":""->""},{""file"":""/var/www/clients/client1/web5/web/callback/paypal/paypalpluslink.php"",""line"":55,""function"":""complete_cart"",""class"":""PayPalPayment"",""type"":""->""}]}
}}}

mod_paypal_live.log


{{{
[28-09-2021 08:24:35] PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[28-09-2021 08:24:36] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D/execute
[28-09-2021 08:24:39] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[28-09-2021 08:24:39] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment/PAYID-MFJLKBY5WV62229NL354812D/execute. {""name"":""DUPLICATE_TRANSACTION"",""message"":""Duplicate invoice Id detected."",""information_link"":""https://developer.paypal.com/docs/api/payments/#errors"",""debug_id"":""8f53292a46376""}

}}}


Sollte dies der Grund sein, sollte man die warnings dennoch beheben."	Bug/Fehler	closed	normal	modified-shop-2.0.7.0	Module	2.0.6.0	fixed				
