PDA

View Full Version : Can't get checkout to work.


Artemusreturns
05-03-2009, 11:23 AM
I've been working on this for 2 days now. I'm new to eCart and not very adept at PHP.
I'm using site root linking for paths
My gateway is Authorize.net. I have their doc's in hand.
I'm testing on a localhost Apache server using php. I can't get curl installed on my Vista local host, but I suspect my problem begins before that dll is req'd.
I've read all related eCart Tutorial and help docs as well as Authoize.net integration doc.

When I use all defaults on the Display Mgr and Checkout wizard. I get into cart.php and from there to checkout.php np, but cannot go further than that. When I click the checkout button in checkout.php, I get a blank screen. One reason I thought was that there is no link to Authorize.net using the checkout wizard (beyond the transaction login info), so I use the Insert Checkout Form button's-->local checkout option.

This form yields all the fields needed for Authorize.net transaction processing and agrees with their integration doc. I save the form as Checkout.php, overwriting the wizard's form with a new checkout page. I get into the cart okay, but now I can't go beyond that.

I suspect the problem has to do with paths, so I searched out every path in these two files and made sure it was site root relative. No help. I've been nosing around in the include files looking for clues too, but don't see anything I should mess with.

I delete everything (including eCart subdir) and start over. Problem loops back to where it began. I've done this maybe 10 times now and its got me stumped.

Ideas? Please!
Thank you.

Ray Borduin
05-05-2009, 02:51 PM
A blank screen generally means you have debug mode and error messages turned off and the page has an error. You should still have error log files you can check to see the error and line number. My suggestion is to concentrate on getting error messages turned on or getting access to the error logs so you can find the line number and description of the error. Without that you can only take stabs in the dark and that seldom works.

Artemusreturns
05-08-2009, 11:25 AM
Thank you! Sometimes the obvious isn't. This is a follow-up on 5/10: Thanks to Ray's feedback I was able to get the cart up and running in a couple of more days after a week of pulling my hair out. I'm now in test mode with Authorize.net and progressing nicely. I've programmed in several languages (over the past 20 years or so), but nothing Internet wise more than html. I had no idea that php had an error trapping capability. Dumb to some, but a lifesaver for me. THANKS RAY!!

randy294090
05-14-2009, 09:34 AM
Hi Ray,

I'm also getting a blank confirm screen Where would I turn on the "error messages" on? Is this on my hosting service? Or in Dreamweaver?

Thanks,

Randy

Ray Borduin
05-14-2009, 09:35 AM
It is on your hosting service. You may have to ask them how to turn it on as each ISP may have different policies.

JBWebWorks
05-15-2009, 03:54 PM
try putting this code at the very top of the page you are having problems with

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

worked for me when i had the same problem