close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

error after confirmation page

Thread began 7/08/2010 12:52 pm by chssagmi366905 | Last modified 8/02/2010 7:26 pm by chssagmi366905 | 2158 views | 20 replies

Eric Mittman

The code on your confirm page that makes it go to the failure or success page is this:

lines 272-278

if ($WAGatewayResponse)  {

    $ambCart->redirStr = "checkout_success.php";
  else if ("checkout_failure.php" != "") {
    header("Location: ". "checkout_failure.php");

You should only be getting to the failure page if there is a failure. There are no other redirects to the checkout failure page on the confirm page. On your checkout failure page you do not have the correct bindings on the page to see the details of the transaction. On the checkout failure page you only have the bindings for the Express Checkout responses:

lines 44-49

<p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Status")) ?> status</p>

        <p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Error Code")) ?> error code</p>
        <p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Severity Code")) ?> severity code</p>
        <p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Short Error Message")) ?> message</p>
        <p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Full Response")) ?> full response</p>
        <p class="eC_OrderInfo"><?php echo(PP_ECO_Process_Result("Full Request")) ?> full request</p>

In order to see the details about a failed transaction with Direct Pay you will need to have the Direct Pay bindings on your failure page.

They look like this for the full request and full response:

full reqeust:<br/>

<?php echo(PP_DirectPayment_Result("Full Request")) ?><br/><br/>
full response:<br/>
<?php echo(PP_DirectPayment_Result("Full Response")) ?>

You should see all of the info about the API interactions when you get to this page. If you see a browser error or do not see the values view the source on the page to see if this will get it to show. If you have any further problems with this please post back and include a link where we can check on this with you.

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





Ease of use


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