Modify

Opened 4 years ago

Closed 4 years ago

#2099 closed Bug/Fehler (fixed)

Paypal Plus Link verursacht warnings beim bezahlen

Reported by: FräuleinGarn Owned by: Gerhard Waldemair
Priority: normal Milestone: modified-shop-2.0.7.0
Component: Module Version: 2.0.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

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.

Attachments (0)

Change History (10)

comment:1 by anonymous, 4 years ago

Gib doch in deinem Test-Shop ein "Bestellnummer Präfix" (PayPal Konfiguration) an, dann entfällt das Problem "Bestellnummer schon vergeben".

Gruß,
noRiddle

comment:2 by Torsten Riemer, 4 years ago

Kannst du das bitte nochmal mit "Bestellnummer Präfix" testen, so wie von noRiddle vorgeschlagen?

comment:3 by FräuleinGarn, 4 years ago

Mit Bestellnummer Präfix kann der Link abgeschlossen werden. Lag also daran.

Auftragsbestätigung mit dem Paypalplus Link kann mit Php8 aber dennoch nicht versendet werden wie in #2098 beschrieben.

Die oben angegebenen Fehler im mod_warning.log werden weiterhin erzeugt und sollten behoben werden.

Zusätzlich noch folgender Fehler in gleichem log, wenn man in der Bestellung auf PayPal Details klickt:

[2021-09-30 10:34:22]	[warning]	[modified]	[pid:28334]	WARNING found for URL: /ajax.php?ext=get_paypal_data&oID=1875&language=de	{}	{}
[2021-09-30 10:34:22]	[warning]	[modified]	[pid:28334]	Undefined array key "class" in File: /var/www/clients/client1/web5/web/includes/classes/message_stack.php on Line: 29	{}	{}
[2021-09-30 10:34:22]	[warning]	[modified]	[pid:28334]	Backtrace #0 - /var/www/clients/client1/web5/web/includes/application_top.php called at Line 309	{}	{}
[2021-09-30 10:34:22]	[warning]	[modified]	[pid:28334]	Backtrace #1 - /var/www/clients/client1/web5/web/ajax.php called at Line 17	{}	{}

Tritt aber scheinbar nur auf, solange die Bestellung nicht mit dem Link bezahlt wurde. Danach wird der Fehler nicht nochmal erzeugt.

comment:4 by FräuleinGarn, 4 years ago

Ticket vielleicht dann umbenennen.

comment:5 by Torsten Riemer, 4 years ago

Hast du einen Vorschlag?

comment:6 by FräuleinGarn, 4 years ago

Ich wollte es nur umbenennen, da die Zahlung abgeschlossen werden kann und es somit nur um die warnings geht.

-Paypal Plus Link verursacht warnings beim bezahlen
-Warnings durch Paypal Plus Link

comment:7 by Torsten Riemer, 4 years ago

Summary: Paypal Plus Link kann nicht abgeschlossen werdenPaypal Plus Link verursacht warnings beim bezahlen

Danke. Ich habe die Zusammenfassung entsprechend geändert.

comment:8 by Gerhard Waldemair, 4 years ago

ich kann keines der Logs nachvollziehen. Getestet im DEV Shop.

comment:9 by Gerhard Waldemair, 4 years ago

konnte es nun doch nachstellen, wenn man nicht eingeloggt ist.

comment:10 by Gerhard Waldemair, 4 years ago

Owner: set to Gerhard Waldemair
Resolution: fixed
Status: newclosed

In 13772:

fix #2099 - update paypal - fix warning

Modify Ticket

Action
as closed The owner will remain Gerhard Waldemair.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.