eCart PayPal Express error: Undefined index: PayPal_ECO_PayerID
Hey there, just done a test to add PayPal Express button. and getting errors below (I am also attaching various php files that may be the root of the issue).
The main files for the checkout are:
a) checkout.php (this just collects form data and writes to sessions)
b) checkout-address.php (this just collects form data and writes to sessions)
c) checkout-payment.php (this just collects form data and writes to sessions)
d) confirm-paypal.php (this is the main file that does all the server behaviour magic)
e) failure.php (this just displays the error messages for testing purposes only)
When I do a test order, it goes straight to the failure.php file after around 5 seconds. I never even see the external paypal website.
Notice: Undefined index: PayPal_ECO_PayerID in C:\xampp\htdocs\armadillo\failure.php on line 52
Session PayPal_ECO_PayerID = Notice: Undefined index: PayPal_ECO_PayerID in C:\xampp\htdocs\armadillo\failure.php on line 55
Session PayPal_ECO_Token =
eCart Session ID = 6snajqn213kk1rmvkle9sk7id1
Payer Profile from PayPal Express Checkout
Notice: Undefined variable: WA_PP_ECO_GetResult in C:\xampp\htdocs\armadillo\failure.php on line 63
Notice: Trying to get property of non-object in C:\xampp\htdocs\armadillo\failure.php on line 63
errorCode =Notice: Undefined variable: WA_PP_ECO_GetResult in C:\xampp\htdocs\armadillo\failure.php on line 65
Notice: Trying to get property of non-object in C:\xampp\htdocs\armadillo\failure.php on line 65
errorMessage = Notice: Undefined variable: WA_PP_ECO_GetResult in C:\xampp\htdocs\armadillo\failure.php on line 67
Notice: Trying to get property of non-object in C:\xampp\htdocs\armadillo\failure.php on line 67
Token = Fatal error: Call to undefined function WA_PP_ECO_GetValue() in C:\xampp\htdocs\armadillo\failure.php on line 69