close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal Failure

Thread began 2/04/2010 12:52 pm by birdscreen398247 | Last modified 2/05/2010 9:42 am by Jason Byrnes | 1552 views | 4 replies |

birdscreen398247

PayPal Failure

I am testing my checkout using PayPal Sandbox. I created the accounts, got the username and password and the signature, etc. When I click on the PayPal button, I get a failure page. I tried to troubleshoot by adding the Local Checkout Response behavior, but my list of behaviors does not include that one when I select that failure page in Dreamweaver.

The Ecart created two failure pages; pp_checkout_failure.php and checkout_failure.php. The latter page DOES show Local Checkout Response as an option when I click on Add Behavior, but the former does NOT. However, it is the former that comes up when I get the failure page described above, so I can't see what the error is.

How can I add a Local Checkout Response behavior to this page?

Ecart 5
Dreamweaver CS4

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code on the checkout_failure.php page to show the full response and the full request:

php:
<?php
if(!session_id()) session_start(); 
echo(
"PayPal Full Request :<br />");
echo(
"<code>".isset($_SESSION["PP_DirectPayment_postedValues"])?$_SESSION["PP_DirectPayment_postedValues"]:""."</code><br /><br />");
echo(
"Paypal Full Response :<br />");
echo(
"<code>".isset($_SESSION["PP_DirectPayment"])?$_SESSION["PP_DirectPayment"]:""."</code><br /><br />");
?>
Sign in to reply to this post

birdscreen398247

PayPal Failure

I inserted the code as suggested. Now the failure page comes up with:

PayPal Full Request :
Paypal Full Response :

But there is nothing shown after the colons. So I am still in the dark as to what the problem is.

Sign in to reply to this post

birdscreen398247

Paypal failure

I don't know what caused the problem, but I deleted all of the checkout pages and recreated them and it works fine now.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, Glad to hear it is working.

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