close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal Express - returning error message on failure page

Thread began 7/05/2011 3:41 am by Dave Buchholz | Last modified 7/05/2011 3:07 pm by Dave Buchholz | 807 views | 5 replies

Dave BuchholzBeta Tester

PayPal Express - returning error message on failure page

I have a cart where the only payment option is going to be PayPal Express but I cannot find a way to return an error message to the client when the transaction fails as there appears to be no bindings available with the "Long Error Message" that I have used before.

Am I missing something ?

THis is the standard page code created:

php:
<?php

//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?><?php
$eCart1
->GetContent();
?>
<?php
if ($eCart1->IsEmpty())     {
  
$eCart1->redirStr "/view-cart.php";
  
$eCart1->cartAction "RedirectIfEmpty";
}
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "")     {
  
header("Location: ".$eCart1->redirStr);
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="WA_eCart/CSS/eC_Clean_Slate_Arial.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="eC_Clean_Slate_Arial" >
    <h2>Transaction Not Completed</h2>
    <h3 class="eC_InfoHeader" >We're sorry</h3>
    <div class="eC_InfoContainer" >    
        <p class="eC_OrderInfo">Your transaction could not be completed.
        </p>
    </div>
</div>

</body>
</html>

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