paymentId cannot be null
-
Hi,
wir bekommen sehr viele Fehlermeldungen, die wie folgt aussehen (Version 2.2.1):`
2021-04-20T20:43:31+00:00 INFO GET https://api.paypal.com/v1/payments/payment/PAYID-MB7TZYYXXXXXXXXXXXXXXXXXXXXX 2021-04-20T20:43:31+00:00 INFO Response Status : 200 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:47:08+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:48:06+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:49:38+00:00 ERROR paymentId cannot be null 2021-04-20T20:50:03+00:00 INFO POST https://api.paypal.com/v1/payments/payment 2021-04-20T20:50:04+00:00 INFO Response Status : 201
Hier gibt es vermutlich noch einen Bug.
Wurde hier bereits diskutiert aber geschlossen:
https://wordpress.org/support/topic/die-adresse-kann-von-paypal-nicht-aufgerufen-werden/Es hängt wohl mit dem folgenden zusammen:
Wir haben das gleiche Problem.
Das Problem tritt auf, nachdem die Bestellung durchgeführt wurde (also Nutzungsbedingungen und AGBs akzeptiert und “kostenpflichtig bestellt” wurde).
Die Bestellung wird auch per E-Mail bestätigt und ist auch in WooCommerce als Bestellung mit “Zahlung ausstehend” vermerkt.
Meine erste Analse hat gezeigt, dass die PaymentId nicht mehr aus der Session ausgelesen werden kann bzw. nicht mehr in der Session vorhanden ist.Datei /woo-paypalplus/src/ExpressCheckoutGateway/CheckoutAddressOverride.php
Zeile 132: $paymentId = $this->wooCommerce->session->get(Session::PAYMENT_ID);Hier wird nach der Bestellung kein Wert mehr zurückgeliefert. Dadurch kann die Zahlung nicht mehr durchgeführt werden.
Spontane Vermutung: Die PAYMENT_ID wird nach der Bestellung aus der Session gelöscht.
Folgende WooCommerce-Plugins sind installiert:
– WooCommerce
– WooCommerce Admin
– PayPal PLUS für WooCommerce
– German Market
– DHL for WooCommerce
- The topic ‘paymentId cannot be null’ is closed to new replies.