close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Debugging Payflow Failed transaction

Thread began 7/18/2011 2:02 pm by CraigR | Last modified 7/19/2011 10:07 am by Jason Byrnes | 3003 views | 2 replies |

CraigRBeta Tester

Debugging Payflow Failed transaction

Can someone give mehelp to debug a failed Payflow Pro transaction ?


I added the local checkout response bi9nding to the page and I dragged the full response binding

<?php echo(_Result("Full Response")) ?>

on the page, but nothing appears

when i displayed php errors, i got

Fatal error: Call to undefined function _Result() in D:\vhosts\csc_payflowpro\Store\checkout_failure.php on line 144

also, (just for my peace of mind) if the lines

$PP_PayPro_required[0][$nextIndex] = "TESTING";
$PP_PayPro_required[1][$nextIndex] = "true";

the transaction always seems to be a success

$PP_PayPro_required[0][$nextIndex] = "TESTING";
$PP_PayPro_required[1][$nextIndex] = "false";


the transaction always seems to fail. Is this what I should expect ? ie if the account criteria are correct, the transaction would always succeed in a test environment, regardless of the c/c info.

Attached Files
checkout_failure.zip
Sign in to reply to this post

CraigRBeta Tester

Error code

i managed to get the error codes eventually using this...

php:
<?php  
 
if(!session_id()) session_start(); 

     echo 
"<p>Payflow Pro: <br />"
     echo 
"Full Response: ".(isset($_SESSION["PP_PayPro"])?htmlentities($_SESSION["PP_PayPro"]):"n/a")."<br /></p>";  
     echo 
"<p>Payflow Pro:  <br />"
     echo 
"Full Request: ".(isset($_SESSION['PP_PayPro_postedValues'])?htmlentities($_SESSION['PP_PayPro_postedValues']):"n/a")."<br />"
?>



So thats part of the problem solved.

Still interested in a view re successful transactions in the testing environment

Sign in to reply to this post

Jason ByrnesWebAssist

yes, in the testing environment, the credit card details are ignored, it is considered a successful transaction if it passes through the paypal system. the paypal system never contacts the merchant bank to check the credit card when the sandbox is enabled .

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