close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

eCart PayPal Express error: Undefined index: PayPal_ECO_PayerID

Thread began 7/10/2016 4:42 pm by Christopher West | Last modified 7/12/2016 7:08 pm by Christopher West | 258 views | 13 replies

Christopher WestCommunity Expert

Hi, I have posted the error in private message. it seems to be an invalid argument. From the error, is there anything there you notice that could be the cause?

in my php file that does all the processing. I have the following server behaviours:
Gateway Credentials
Get Payer Profile from PayPal Express Checkout
eCart Object
Authentication for PayPal Express Checkout
Process Transaction with PayPal Express

(are the above is all I need for PayPal Express payment?
Does the form need to have an attributes? for example if you ook at my page code that calls the paypal processing file: I am using a redirect

php:
<?php

if(isset($_POST["confirmpaypal"]) || isset($_POST["confirmpaypal_x"])){
    
$WA_Redirect_URL "checkout-paypal.php";
    
$WA_Redirect_KeepQS false;
    if (
$WA_Redirect_URL != "")  {
     if (
$WA_Redirect_KeepQS && $WA_Redirect_URL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "") {
        
$WA_Redirect_URL .= ((strpos($WA_Redirect_URL'?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
     }
     
header("Location: ".$WA_Redirect_URL);
    }
}
?>


and the form is

[html]<form name="paymentform" class="standard" method="POST">[/html]

I have everything stored in sessions.

Does PayPal require anything else?
Attached Files
checkout-payment.php
checkout-paypal.php

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...