close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal Pro UK Debugging

Thread began 5/25/2010 3:41 am by Heckie | Last modified 5/27/2010 5:33 pm by Eric Mittman | 1997 views | 6 replies |

Heckie

PayPal Pro UK Debugging

Can someone give me some PHP code to place on my 'checkout_failure.php' page that will allow me to debug some errors?

I am using PayPal Pro UK. Thanks.

Sign in to reply to this post

Eric Mittman

You can put this code on your failure pages to get a better idea of the issue:

php:
<?php  

if(!session_id()) session_start();   
echo(
"Direct Pay Full Request :<br />");  
echo(
"<code>".isset($_SESSION["PP_DirectPayment_postedValues"])?$_SESSION["PP_DirectPayment_postedValues"]:""."</code><br /><br />");  
echo(
"Direct Pay Full Response :<br />");  
echo(
"<code>".isset($_SESSION["PP_DirectPayment"])?$_SESSION["PP_DirectPayment"]:""."</code><br /><br />"); 
echo(
"PayPal Express Checkout requests and responses :<br />");   
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(
"Preocess 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 need to post back with this information make sure that you remove any sensitive details first like your PayPal account setting and credit card info.

Sign in to reply to this post

Heckie

It doesn't seem to work, just blank - no error messages!
I am using PayPal Pro UK.

Sign in to reply to this post

Eric Mittman

What version of eCart are you working with? In eCart 5 there is not a real distinction between UK and US Payments Pro, they use the same system now.

If you open up your checkout failure and look in the bindings you should see bindings for your local checkout server behavior. You will want to add the full request and full response to the page.

This code may need to make use of an include file that is on your confirm page. You should add the includes that go to the WA_eCart folder from this file onto your failure page.

Sign in to reply to this post

Heckie

Still using eCart 4.5
PayPal Pro UK

Sign in to reply to this post

Heckie

I am having problems getting VISA Credit cards to work.

Sign in to reply to this post

Eric Mittman

Were you able to add in the full request and full response bindings for the checkout on the failure page? This is the next step that needs to be taken to debug the problem further. You will need these bindings added to the page, if you also need the include files for them you can copy and paste the include files from your confirm page. Please post back with the results that you get after adding these bindings. If you post back with the info that appears on the page make sure to remove any sensitive details like PayPal logins or credit card numbers.

Sign in to reply to this post

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