close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

just can't get this to work....

Thread began 5/15/2011 3:16 am by Sn0man | Last modified 5/16/2011 3:36 pm by Jason Byrnes | 4127 views | 24 replies |

Sn0man

just can't get this to work....

So i've built and deleted all ecart pages, recordsets etc 4 times now, and each time I have the same problem - I can't get past the cart.php page, as I just keep getting redirected back to it.

I've made the recordset with all the correct bindings, and the correct information shows up on the cart.php page. I've uploaded the two tables to my server (orders.sql and orderdetails.sql). I'm using the userID from the users table, and added two additional columns; one for item description and one for amount. Then created the recordset with those three columns and the test displayed the data correctly.

I'm not sure what i'm missing here, but this just doesn't want to work for me! Also, each of the 4 times i've run the checkout wizard, I have not had a window for universal email reciept - even though I have universal email installed and working correctly.

Anyhow, here is the code from my success page (which has the add to cart button), and the code from the cart.php page.

Thanks for any help - i'm running out of hair to pull out!! ;)

Attached Files
cart.txt
main_page.txt
Sign in to reply to this post

admin140217

I may have missed this...

I may have missed this in looking at you code but...

When you added your add to cart button to the page, did you designate a URL in the general tab "redirect" section of the add to cart button panel?

Sign in to reply to this post

Sn0man

Thanks for the reply -

Yes, on the success page which has the add to cart button, I have set it to redirect to cart.php, and on the cart.php page which has the checkout button, I have set it to redirect to checkout.php. However no matter what I try, when I press checkout, it just takes me right back to cart.php (almost like it wants to go to the next page but gets redirected back instead).

Sign in to reply to this post

Sn0man

That makes 5 times

This time I removed the extension, and all ecart files and folders and generated pages, and re-installed, then went through all the steps, again...

still getting redirected back to the cart page and still no option to send a reciept with Universal Email.

Found this code snippet in the confirm.php page

<?php
if ($eCart1->IsEmpty()) {
$eCart1->redirStr = "cart.php";
$eCart1->cartAction = "RedirectIfEmpty";
}
?>

Which, I can only assume, means that for some stupid reason the information isn't being written into the database.

??????????????????????????!!

Sign in to reply to this post

Sn0man

Still nada

Well i've managed to get the data to write into the database using the "store summary in database" server behaviour (not to be found anywhere in documentation), but still not getting past the cart.php page - always ALWAYS redirects back to itself.

This is the eighth attempt and everything else seems to be working - it just won't complete the transaction.

Here are screenshots from my PC showing the server behaviours in play on the cart.php page, a screenshot of the mySQL database after data was written to it, and the complete code from my cart.php page.

I'm giving up on this extension until I can get some help -this just doesn't want to work for me at all.

Attached Files
cart.php.txt
Sign in to reply to this post

Jason ByrnesWebAssist

When you run the checkout wizard, what payment gateway are you selecting?


Can you send a link where i can see the problem?


It could be that a php error is occurring, add the following code to your pages to turn error reporting on:

php:
<?php

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

Sn0man

Originally Said By: Jason Byrnes
  When you run the checkout wizard, what payment gateway are you selecting?


Can you send a link where i can see the problem?


It could be that a php error is occurring, add the following code to your pages to turn error reporting on:
php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
  




Hi Jason,

I'll PM you a link and login info as I have this set up on my sites back-end.

For the payment gateway, I selected paypal website payments standard, and entered the correct business credentials (secure merchant account ID) from my paypal profile page.

I assume I should add that code to line 1?

Sign in to reply to this post

Sn0man

I guess I can't PM you.

login here users_login.php

username: jason@webassist.com
password: temp

i've set up a test amount of $0.01 owing so you can see what's happening.

Sign in to reply to this post

Jason ByrnesWebAssist

did you add the error reporting code:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



at line 1 of the checkout.php file?

Sign in to reply to this post

Sn0man

just did it

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