close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Andrew

Thread began 10/13/2009 6:28 am by andykeltic379625 | Last modified 10/14/2009 7:25 am by Ray Borduin | 1963 views | 5 replies |

andykeltic379625

Andrew

Powerstore is not sending order confirmation e-mail to customer.


I have changed the following in confirm.php

<?php
// WA eCart Store Cart Details in Db
if (isset($_POST["Submit_order"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "orderdetails";
$WA_redirectURL = "checkout_success.php";

to

<?php
// WA eCart Store Cart Details in Db
if (isset($_POST["Submit_order"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "orderdetails";
$WA_redirectURL = "";

they now recieve e-mail but powerstore doesent go to checkout_success.php now

any help please


Andy

Sign in to reply to this post

Ray BorduinWebAssist

Are you using a payment gateway? Probably the solution is to add the success page as the redirect in the email code.

Sign in to reply to this post
Did this help? Tips are appreciated...

andykeltic379625

Andrew

Not using any gateway just confirmation e-mail needed, no credit card payments taken on line. My customer gets in touch with clients after order sent

Sign in to reply to this post

Ray BorduinWebAssist

Ok, well then that is the solution... Usually the success page is specified as part of the payment processing.

If you have universal email, just update the redirect in that server behavior. Otherwise you will have to update the code where the email is sent to add the redirect page manually...

You would update it from:
if (""!="") {
header("Location: ");
}

to:
if ("checkout_success.php"!="") {
header("Location: checkout_success.php");
}

Sign in to reply to this post
Did this help? Tips are appreciated...

andykeltic379625

Andrew

Do you mean change this in the checkout_success.php

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

to

if ("checkout_success.php"!="") {
header("Location: checkout_success.php");
}


Andy

Sign in to reply to this post

Ray BorduinWebAssist

Nope. I mean update it where universal email is applied.

Start by finding the comment:
//WA Universal Email object

the redirect I refer to will be a couple of lines below that.

Sign in to reply to this post
Did this help? Tips are appreciated...

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