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

Checkout

Thread began 6/01/2011 12:42 am by cicyou421883 | Last modified 6/09/2011 9:55 am by Jason Byrnes | 3387 views | 13 replies |

cicyou421883

Checkout

My products checkout on localhost, not remote server. I have synchromized the site files and the database. Checkout on the remote stays on the following page

confirm.php

does not go to the checkout_Success.php as the localhost does do...

authorize.net worked for localhost. Does this have to do with the previewdns? On localhost, authorize.net works.
Database on remote shows order and orderdetails, but did not go to the authorize.net to checkout_Success.php...

code on confirm.php page on both testing and remote:

$WAGatewayResponse = AuthNet_Post($AuthNet_required,$AuthNet_itemized,$AuthNet_optional);
if ($WAGatewayResponse) {
$californianatural->redirStr = "checkout_success.php";
}
else if ("checkout_failure.php" != "") {
header("Location: ". "checkout_failure.php");
exit();
}
}
?>

Sign in to reply to this post

Jason ByrnesWebAssist

if the confirm page is not redirecting, it is likely a php error occurring, add the following code at line 1 of the confirm page to turn error reporting on:

php:
<?php

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

cicyou421883

POSTED error code

This message came up on the remote server. Testing sever is able to get to authorize.net.

Could it be because I am using a previewdns with GoDaddy Hositng that the confirm page does not authorize.net which may mean I have to be online? I understand that you may not know of the GoDaddy functions. Just trying to make sure that the Webassist pages are working before I have to go live.

error:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Thank you, CATHY

Sign in to reply to this post

Jason ByrnesWebAssist

I certainly could be the preview DNS, I cant really say, I've never used that service before.

if it is storing the database info, but not passing the order to autohorize.net, I would guess that the "Service Temporarily Unavailable" that the error is talking about is the cURL service, it sounds like the server is having an issue with cURL,

Sign in to reply to this post

cicyou421883

PHP Error

I have the site live now no preview DNS and the confirm page shows this error:

?php error_reporting(E_ALL); ini_set('display_errors','on'); ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/content/54/7456454/html/confirm.php:5) in /home/content/54/7456454/html/confirm.php on line 486

Page link:

confirm.php

Sign in to reply to this post

cicyou421883

Confirm.php page

The confirm page did go to authorize.net in the test mode. Is this a a cURL issue? I am calling GoDaddy.... to see how they can help.

Sign in to reply to this post

cicyou421883

LINE 486 reads

Line 486 reads... in the below section - header("Location: ".$californianatural->redirStr);
?>
<?php
if ($californianatural->IsEmpty()) {
$californianatural->redirStr = "../cart.php";
$californianatural->cartAction = "RedirectIfEmpty";
}
?>
<?php
// WA eCart Redirect
if ($californianatural->redirStr != "") {
header("Location: ".$californianatural->redirStr);
}
?><?php

Also, I added a shoppingcart.php page since My page was cart.php

Error now says:
?php error_reporting(E_ALL); ini_set('display_errors','on'); ?>

I did have a paid session with RAY and this was supposed to have been corrected so that i would have a checkout. At this point, I am live and do not have a checkout.

Sign in to reply to this post

Jason ByrnesWebAssist

this is bad code on the page.


you added the error reporting code missing a "," character.

at line 1 you have:

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




that code should be:

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

cicyou421883

Changed the error php on Page

Also I changed all pages to say ../cart.php including, the confirm, checkout, index, and users pages.

Current error is:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/54/7456454/html/confirm.php:2) in /home/content/54/7456454/html/confirm.php on line 483

Lines 480 - 485, 5 lines says:

<?php
// WA eCart Redirect
if ($californianatural->redirStr != "") {
header("Location: ".$californianatural->redirStr);
}
?><?php

Sign in to reply to this post

cicyou421883

The Authorize.net says it is still in test mode....

The authorize and capture is confirming to my e-mail even thought the site stays on the confirm page. How do I get it out of the test mode. I changed hosting servers today and the old site was working with authorize.net fine. Somehow the pages that I used with webassist are still in test mode. Please advise.

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