close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal Express Checkout no Payer ID

Thread began 8/13/2012 2:23 am by ZP | Last modified 8/14/2012 7:26 am by ZP | 9449 views | 1 replies

ZP

PayPal Express Checkout no Payer ID

Hi Support,

I have been working through a PayPal Express checkout error.

I have tested in the PayPal sandbox without a problem, but when I changed it to live it seems to be having a few errors as listed below:

1. PayPal support has said the Payer Id is not been submitted see the code and response from PayPal below

<-- Start Code Snippet -->

DoExpressCheckoutPaymentRequest
token "XXXXXXXXXXXXXXXXXX"
payerid "" ???
returnfmfdetails "0"
method "DoExpressCheckoutPayment"
version "63.0"
user "paypal_api1.XXXX.some.user.id"
buttonsource "WebAssist.eCartPHP.Pro.ECO"
paymentrequest_0_currencycode "AUD"
paymentrequest_0_amt "6.84"
paymentrequest_0_itemamt "1.9"
paymentrequest_0_shippingamt "4.32"
paymentrequest_0_handlingamt ""
paymentrequest_0_taxamt "0.62"
paymentrequest_0_custom ""
paymentrequest_0_desc "A product description"
paymentrequest_0_invnum "23075"
paymentrequest_0_buttonsource "WebAssist.eCartPHP.Pro.ECO"

<-- Start Code Snippet -->

How our checkout works:

1. User presses Checkout >
2. User Register or Login >
3. Lands on Payment Page (inserted to DB) >
4. User chooses PayPal payment type >
5. Redirect to PayPal > User Logs into PayPal (Authenticates)
6. User comes back lands on the PayPal Process Page (eCart PayPal Process Transaction)
7. User get success page or error page.


I have this code as mentioned below, just before the process transaction code on the process page but I'm wondering if this is where the problem is but the documentation does not state where this should go during a PayPal checkout?

After the user login into the PayPal and comes back to process the transaction does it come back with a PayerID in the URL as the your code suggests below?

<?php
$WA_PP_ECO_GetResult = WA_PP_ECO_SOAPObject();
if ((isset($_GET["token"]) && isset($_GET["PayerID"])) || (isset($_SESSION["PayPal_ECO_Token"]) && $_SESSION["PayPal_ECO_Token"] != "")) {
$WA_PP_ECO_GetResult = WA_PP_ECO_Get_Post("paypal_api1.XXXXXX", "XXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXXX", true);
}
?>

Then the process PayPal transaction code goes here


Problem 2.

2. The repeated product description of items is not showing even after the user has logged in to PayPal? it just shows the sale description?

Thanks for you time in advance, its always a pleasure dealing with your company Webassist.

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...