Error 500 after coming back from PayPal
-
Hi there,
sadly, after performing payment at PayPal, the page the user is redirected to shows an error 500:
This is the URL: https://www.golfshop-maas.de/wc-api/paypal_plus/?paymentId=PAY-9P68336200563604ELETL56Q&token=EC-0MG10295D3161851D&PayerID=FZS4UGWC8GAEU
This is the error:
[25-May-2017 11:26:43 UTC] PHP Fatal error: Uncaught InvalidArgumentException: paymentId cannot be null in /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php:25
Stack trace:
#0 /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php(580): PayPal\Validation\ArgumentValidator::validate(NULL, ‘paymentId’)
#1 /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/src/WC/Payment/PaymentExecutionData.php(107): PayPal\Api\Payment::get(NULL, Object(PayPal\Rest\ApiContext))
#2 /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/src/WC/Payment/WCPaymentExecution.php(58): WCPayPalPlus\WC\Payment\PaymentExecutionData->get_payment()
#3 /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/src/WC/PayPalPlusGateway.php(179): WCPayPalPlus\WC\Payment\WCPaymentExecution->execute()
#4 [internal function]: WCPayPalPlus\WC\PayPalPlusGateway->execute_payment(”)
#5 /nas/content/live/maasgolf/wp-includes/cla in /nas/content/live/maasgolf/wp-content/plugins/woo-paypalplus/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php on line 25
- The topic ‘Error 500 after coming back from PayPal’ is closed to new replies.