PayPal Bezahlproblem neues PayPal Plugin 1.1.1

Hallo,

wir bekommen bei 5 von 10 PayPal Zahlungen diesen Fehler:

PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:"Client error response

Wie können wir das lösen?

Erstmal die konkrete Fehlermeldungen posten. Die steht nicht im Backend, sondern nur in den Logs auf dem Server.

Ah ok :slight_smile:

[2018-10-31 10:10:01] plugin.ERROR: PayPal: Could not process checkout due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LPMXBUI8D468703XX2142812/execute [status code] 400 [reason phrase] Bad Request”,“payload”:"{“name”:“DUPLICATE_TRANSACTION”,“message”:“Duplicate invoice Id detected.”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“28a30e7c6bfa”}"} {“uid”:“1abf60b”}
[2018-10-31 10:10:03] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“3b026bbd8c4e8”}"} {“uid”:“a2f4176”}
[2018-10-31 10:25:55] plugin.ERROR: PayPal: Could not process checkout due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LPMXIVY5J032624818559245/execute [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“DUPLICATE_TRANSACTION”,“details”:,“message”:“Duplicate invoice Id detected.”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“2d26eb81e56c0”}"} {“uid”:“88c7e81”}
[2018-10-31 10:25:56] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“89b9351dc67d7”}"} {“uid”:“d62f420”}
[2018-10-31 10:26:37] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“8f97258f5337c”}"} {“uid”:“e3c562f”}
[2018-10-31 10:39:21] plugin.ERROR: PayPal: Could not process checkout due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LPMXPUY3L765609UD766162M/execute [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“DUPLICATE_TRANSACTION”,“details”:,“message”:“Duplicate invoice Id detected.”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“2c0e3aeb2377”}"} {“uid”:“c967185”}
[2018-10-31 10:39:23] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“52f46a8b542”}"} {“uid”:“ae7f43e”}
[2018-10-31 11:32:13] plugin.ERROR: PayPal: Could not process checkout due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LPMYE6Y36X68176U07188212/execute [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“DUPLICATE_TRANSACTION”,“details”:,“message”:“Duplicate invoice Id detected.”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“837291f9924bb”}"} {“uid”:“1eed34a”}
[2018-10-31 11:32:15] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“bddc403beec57”}"} {“uid”:“52d5687”}
[2018-10-31 12:20:02] plugin.ERROR: PayPal: Could not process checkout due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LPMY7CY7UL33246C61632520/execute [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“DUPLICATE_TRANSACTION”,“details”:,“message”:“Duplicate invoice Id detected.”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“89efdced52766”}"} {“uid”:“da485bd”}
[2018-10-31 12:20:04] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:“https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“c984aa9ea80a”}"} {“uid”:“91f23cc”}
[2018-10-31 12:20:38] plugin.ERROR: PayPal: Could not create payment for plus payment wall due to a communication failure {“message”:“Client error response [url] https://api.paypal.com/v1/payments/payment [status code] 400 [reason phrase] Bad Request”,“payload”:”{“name”:“VALIDATION_ERROR”,“details”:[{“field”:“transactions[0].amount”,“issue”:“Amount cannot be zero”}],“message”:“Invalid request - see details”,“information_link”:"https://developer.paypal.com/docs/api/payments/#errors",“debug_id”:“9f70d63675f08”}"} {“uid”:“d0d6a57”}

Da steht relativ viel “Duplicate invoice Id”. Das passiert, wenn du Bestellnummern an Paypal übermittelst, die schon einmal von deinem Account übermittelt wurden. Du kannst dann entweder das Prefix ändern oder die Übertragung in der Konfiguration abschalten. Jede Bestellnummer darf so nur einmnal an Paypal übermittelt werden - vielleicht gab es mal Testbestellungen o.ä. mit der gleichen Nummer.

Am besten einfach das Prefix entsprechend ändern.

Du meinst also einfach bei Bestellnummer Prefix zum Beispiel: han- eintragen?

ja genau, das wird dann voran gestellt