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

rating

No checkout_success after confirm

Thread began 6/08/2011 3:38 pm by m.finelli420407 | Last modified 11/17/2011 9:59 am by Jason Byrnes | 1794 views | 12 replies |

m.finelli420407

No checkout_success after confirm

Hello there,
I've tried this matter a lot of times, but I still get the same result. The story so far:
I've created a cart and I have all the stuff in place (cart display, confirm, checkout, checkout success pages...).
I've chosen to have a "no payment gateway" because my client wants to receive the order and confirm it after by phone.
I passed all the wizard's steps, configurate the email (I'm testing it on my Mac in locale, so I added my own email address and the SMTP that belongs to my account), but when I complete all the buying passages - add an item to the cart, enter my data in the checkout page - arrived at the confirm page when I hit "Confirm order"... nothing happens.
No checkout success page, no inserting of the order in the database...

I've attached the php script of my confirm.php page. I'm using Cart 5

Any suggestion?
Thanks for your help.

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Most likely there is a php error occurring but error reporting is turned off.

add the following code at line 1 to turn on error reporting.

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

m.finelli420407

Hi Jason, thanks for the reply.
I've copied the php code for revealing errors and I've got this message:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Applications/MAMP/htdocs/Fontana2/confirm.php:5) in /Applications/MAMP/htdocs/Fontana2/WA_eCart/WA_eCart_Definition_PHP.php on line 465

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/Fontana2/confirm.php:5) in /Applications/MAMP/htdocs/Fontana2/WA_eCart/WA_eCart_Definition_PHP.php on line 465

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/Fontana2/confirm.php:5) in /Applications/MAMP/htdocs/Fontana2/confirm.php on line 211

So, for you to look at, I'm attaching the confirm zip file with the php errors turned on and the WA_eCart_Definition_PHP.php.

Looking for your reply.
Thanks again,
Michele

Attached Files
WA_eCart_Definition_PHP.php.zip
confirm.php 2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

that error is being caused by a trailing space after the closing php block on line 4:
"?> "


see the following thread for more details on the headers already sent error and how to troubleshoot it:
showthread.php?t=19285


maybe try changing the trigger for the store order summary and store or details behaviors to use the Button submit _Order pressed trigger instead of current page submit.

Sign in to reply to this post

m.finelli420407

Hello Jason,
clearing the trailing space and changing the triggers worked... but after pressing confirm, now I receive this message:

Unknown column 'fefa08f37f9004c2422074484c347e0b' in 'where clause'


????
Help is needed!

Thanks in advance
Michele

Sign in to reply to this post

m.finelli420407

Solved!
My fault. I've attached the Session ID to the Order ID and the value of the Order ID in the db was INT(11)...

Thanks Jason for solving the matter!
Bye!

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

MikeyT

Jason, I was hoping you could take a look at the attached confirm.php page. I've included error reporting at line 1, but nothing is showing up. I can't seem to get to the checkout_success page. I'm just getting a spinning processing icon in the browser. I went through the checkout wizard following the manual and didn't do anything out of the ordinary. My cart is not using a payment gateway. Thanks for any help.

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the only thing happening on [pressing confirm is sending the email.

in the email settings, what did you use for the smtp server?

who is your host?

Sign in to reply to this post

MikeyT

That's strange. I swore I filled in that info in the wizard. I just added it again and am still having the same issue. Attached is a new file with the smtp and port info included. Sorry to bug you about this.

Attached Files
confirm.php.zip
Sign in to reply to this post
loading

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