View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Invoice email - direct from payment gateway??

Thread began 8/26/2009 3:32 pm by larsentim278054 | Last modified 8/28/2009 2:51 pm by larsentim278054 | 2241 views | 12 replies

larsentim278054

I tried it several times, and I don't get a white page stating the email was sent. (Yeah, I verified that I added the code you told me to - the die code).

So what does that mean? It's not even trying to send the email, right?

Originally Said By: Jason Byrnes
  The email that is sent from the Admin -> Orders page is the shipping confirmation email, not the order recipt email.



To trouble shoot why the recipt email is not being sent, the first thing I would want to do is to determine if the code where getting into the email section.

find the following on the confirm page:
php:
<?php

if ((isset($_POST["Submit_order"])))     {
  
//WA Universal Email object="mail"
  //Send Loop Once Per Entry
  
$RecipientEmail "".((isset($_POST["email"]))?$_POST["email"]:"")  ."";include("WA_Universal_Email/WAUE_confirm_1.php");

  
//Send Mail All Entries
  
if (""!="")     {
    
header("Location: ");
  }
}
?>



and change it to:
php:
<?php

if ((isset($_POST["Submit_order"])))     {  
  
//WA Universal Email object="mail"
  //Send Loop Once Per Entry
  
$RecipientEmail "".((isset($_POST["email"]))?$_POST["email"]:"")  ."";include("WA_Universal_Email/WAUE_confirm_1.php");
  die(
"Send Email");
  
//Send Mail All Entries
  
if (""!="")     {
    
header("Location: ");
  }
}
?>


If the email is being sent, you will see a whit screen with the words "Send Email" on it. if you see that, then there is likely a problem with one of the payment receipt variables

$WAGLOBAL_Receipt_Email_Subject = "Order Receipt" ;
$WAGLOBAL_Receipt_Email_FROM = "yourname@yourdomain.com" ;
$WAGLOBAL_Receipt_Email_CC = "" ;
$WAGLOBAL_Receipt_Email_BCC = "" ;

make sure that none of the address in the form BCC or CC settings is the same address you are placing the order with, this may cause the email to be treated as spam.

Let me know the results of that test, and we can take it from there.  

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