View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

VERY URGENT!! Error connecting to paypal

Thread began 11/14/2009 12:49 pm by roxcastaneda251760 | Last modified 11/26/2009 11:30 pm by roxcastaneda251760 | 1051 views | 3 replies

Jason ByrnesWebAssist

If you are testing using PayPal Express chakout, add the following code to the pp_checkout_failure.php page before the </body> tag:

php:
<?php

if(!session_id()) session_start(); 
echo(
"Auth request: ".isset($_SESSION['ECO_Auth_Request'])?$_SESSION['ECO_Auth_Request']:""."<br /><br />");
echo(
"Auth Result: ".isset($_SESSION['"ECO_Auth_Result'])?$_SESSION['ECO_Auth_Result']:""."<br /><br />");
echo(
"Get Request: ".isset($_SESSION['ECO_Get_Request'])?$_SESSION['ECO_Get_Request']:""."<br /><br />");
echo(
"Get Result: ".isset($_SESSION['ECO_Get_Result'])?$_SESSION['"ECO_Get_Result']:""."<br /><br />");
echo(
"Process request: ".isset($_SESSION['"ECO_Process_Request'])?$_SESSION['ECO_Process_Request']:""."<br /><br />");
echo(
"Process Result: ".isset($_SESSION['ECO_Process_Result'])?$_SESSION['ECO_Process_Result']:""."<br /><br />");
?>





If you are testing using direct payment (Entering Credit card info on the checkout page), add the following code to the checkout_failure.php page before the </body> tag:

php:
<?php

if(!session_id()) session_start(); 
echo(
"Paypal Full Response :<br />");
echo(
"<code>".isset($_SESSION["PP_DirectPayment"])?$_SESSION["PP_DirectPayment"]:""."</code><br /><br />");
echo(
"USPS Full Request :<br />");
echo(
"<code>".isset($_SESSION["WA_Store_Cart_USPS_FullRequest"])?$_SESSION["WA_Store_Cart_USPS_FullRequest"]:""."</code><br /><br />");
echo(
"USPS Full Response :<br />");
echo(
"<code>".isset($_SESSION["WA_Store_Cart_USPS_FullResponse"])?$_SESSION["WA_Store_Cart_USPS_FullResponse"]:""."</code><br /><br />");
?>




This code will return the full request and full response being made to Paypal to hel us trouble shoot the problem.


NOTE: Some of the information returned will contain sensitive information. Any sensitive information should be removed when posting the result back.

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