close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error on pp.confirm - Please help

Thread began 4/02/2013 4:56 pm by hbibizadeh396670 | Last modified 4/03/2013 8:35 pm by hbibizadeh396670 | 456 views | 6 replies |

hbibizadeh396670

Error on pp.confirm - Please help

I am getting errors on the checkout page... pp.confirm page

I am putting my ecommerce site on another site... I needed to change the UserID session to UserIDShop so it would not clash with another site I have installed.

Not sure if that has caused the issues.

In dreamweaver I am getting a syntax error on line 56 and 57...

also I get directed to the failure page


Attached the page thanks

Sign in to reply to this post

Jason ByrnesWebAssist

line 51 - 58:

php:
$ParamProductID2_WADAsiteezyecproducts = $eCart->Items[$n]->ID;


$ParamProductID2_WADAsiteezyecproducts = "-1";
}
$ParamProductID2_WADAsiteezyecproducts = "-1";
if (isset()) {
  $ParamProductID2_WADAsiteezyecproducts = ;
}




should just be:

php:
$ParamProductID2_WADAsiteezyecproducts = $eCart->Items[$n]->ID;



to trouble shoot the transaction failure, add the following code to the failure page:

php:
<pre><?php var_dump($_SESSION); ?></pre>




this will write the session contents to the page, the session contents will include the failure response from the gateway

NOTE: The session contents will include sensitive information that should be removed before posting here,

Sign in to reply to this post

hbibizadeh396670

Hi thanks for the reply

I did the first thing... but now I get this:

On the pp.confirm page before pressing checkout

Notice: Undefined offset: 1 in /customers/4/c/f/exhibithere.com/httpd.www/Shop/pp_confirm.php on line 60 Notice: Trying to get property of non-object in /customers/4/c/f/exhibithere.com/httpd.www/Shop/pp_confirm.php on line 60

and once I press it I get a blank page with this at the top

Notice: Undefined offset: 1 in /customers/4/c/f/exhibithere.com/httpd.www/Shop/pp_confirm.php on line 60 Notice: Trying to get property of non-object in /customers/4/c/f/exhibithere.com/httpd.www/Shop/pp_confirm.php on line 60 Notice: Undefined index: UserID in /customers/4/c/f/exhibithere.com/httpd.www/Shop/pp_confirm.php on line 595 Column 'OrderUserID' cannot be null

Sign in to reply to this post

Jason ByrnesWebAssist

are there items in the cart?

That looks like an error that would happen if the cart is empty.

Sign in to reply to this post

hbibizadeh396670

Yes... it is happening on the confirm page when I return from paypal...

here is the site live: index.php

Sign in to reply to this post

hbibizadeh396670

Ok here is an update..

I am no longer getting any errors however, I am still being redirected to the failure page,..

I put in your code but am getting this: NULL

Not sure how to proceed

Hope you can help me

Sign in to reply to this post

hbibizadeh396670

I fixed it... just needed to update a few things as I changed the UserID session name..

Thanks

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