Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Emailed invoice.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-24-2008, 10:26 AM
 
JMC JMC is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 35
 

Default Re: Emailed invoice.

Hi

Thanks for reply.

Yes I am using a payment processor, its worldpay.

In customer set up area I have the following ticked. Ticked = #

Customer notifications

Enable email notifications for customers about initially placed orders: (This one is not selected)

#'Order is processed' notification to customer:
#'Order is completed' notification to customer:
#'Order is declined' notification to customer:
#'Profile is created' notification to profile owner:
#'Profile is modified' notification to profile owner:
#'Profile is deleted' notification to profile owner:

When customer payment is made on worldpay, the customer is then transfered back to my x-cart site. It says thanks for order etc, and below that is the invoice which they can print off if they wish.

The customer gets two invoice receipts e-mailed from my site at this stage. There is only minutes between them being sent. One says order notification in the subject line and one says order processed in the subject line.

The customer also gets a e-mail from worldpay stating that they have successfully placed a order with my site.

The site admin also gets a e-mail from my site telling him that an order has been place and by whom. Worldpay also send admin a e-mail with successful placed order details and card check details.

My requirements for operation.
(1) All I want is for the customer to receive their first e-mail with order processed in the subject line and all the rest of the body text which is being sent at the moment.

(2) When I dispatch goods I will go to my x-cart site and select my order from processed to complete. By doing that I would expect my customer to receive their second e-mail with complete in the subject line.

All worldpay e-mails are working correctly.

Am I correct in saying that the first notification checkbox which I have not selected is the one which would trigger the e-mail that shows order notification in the customers subject line.

If I am correct then why is a notification e-mail being sent at all, and what do I do to stop it being sent.

Regards

John
__________________
x-cart gold version 4.1.8
Reply With Quote
  #12  
Old 05-25-2008, 07:36 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Emailed invoice.

X-cart emails a "order notification" by default. I have never figured out what "Enable email notifications for customers about initially placed orders" does, as it doesn't seem to make a difference which way it is set about the order email.

When you go to check the order, what is the status? Normally it would be "Queued". If your payment gateway is somehow (I don't see how) changing the status to "processed" that is where the second email is coming from, and if the payment processor is sending your customer an email saying the card has been processed then the "order is processed" notification form x-cart is redundant.

It seems to me that you could stop the initial email from being sent, but this is the one all customers get (including those who choose to pay by some other method than credit card). What do you currently do for those customers? We manually process credit cards, and only do so when we are ready to ship, so we skip "Processed" and go directly to "Completed". We have changed the wording of "Processed" to send to customers that chose "check", "money order", or "phone order" to let them know their order has been "processed" and is waiting payment. We tell them not to send payment until receiving an email telling them to do so (this is it) just in case there is something out of stock or sold out.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #13  
Old 05-25-2008, 10:11 AM
 
JMC JMC is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 35
 

Default Re: Emailed invoice.

Thanks for reply.

My store is nearly ready to operate live. I have registered as a customer and placed 5 orders so far, in order to see what e-mails the customer would receive. I want to test all this out to make sure it is clear for the customer to understand. I could live with the two e-mails being sent as they are just now, but think it would be better if only one was sent to avoid confusion.

Let me tell you a bit more of what I see in the e-mails I receive as a customer.

The first e-mail customer is receiving says "this is order notification #no 1 or the next order no in line such as 2, 3, etc. This is stated in the subject line of the e-mail. The body of the e-mail contains the invoice. Just above the invoice on the left side of the page just above where the origional graphic thats shown in the default e-mails there is some text that says "this is an order #no 1 notification.

The second e-mail the customer is getting is exactly the same except that the subject line of the e-mail says your order no 1 has been processed, and the wording above the invoice now says Dear Mr Customers first and second name. Thanks for placing your order. Please come back soon.

#From your answers above.#
X-cart emails a "order notification" by default. I have never figured out what "Enable email notifications for customers about initially placed orders" does, as it doesn't seem to make a difference which way it is set about the order email.

My answers
The wording of this selection seems to me that this relates to the default e-mail that you say is sent. If its not wonder what its for.

If this has nothing to do with the default e-mail then how would I stop the default e-mail being sent if I wanted to.

#From your answers above#
When you go to check the order, what is the status? Normally it would be "Queued". If your payment gateway is somehow (I don't see how) changing the status to "processed" that is where the second email is coming from, and if the payment processor is sending your customer an email saying the card has been processed then the "order is processed" notification form x-cart is redundant.

My answers
As soon as I place an order I go to my site and the order status is processed.
The two e-mails appear almost together so I have no idea if any other status is shown, even for a brief moment.

Yes worldpay send a e-mail telling customer that they have processed their order for my site. They do not show any invoice details, only total value of the order.

The e-mail from my site is required because if the customer does not sign in they have no other way of getting their invoice automatically e-mailed to them. Also, if they are not a member they cannot look into history and print one off later.

Worldpay automatically process my customers card, providing everything matches up. I never see customers card details. There is setting in my worldpay account which can delay the credit card being actually charged, this is to allow me to carry out further fraud checks if required. I can set delay up to four days I believe.

So at moment cards are processed almost in an instant as long as all the customer details match up during worldpays processing.

#From your answers above#
It seems to me that you could stop the initial email from being sent.

My answers
How would I do that.

Thanks for taking time to help me with this.

Regards

John
__________________
x-cart gold version 4.1.8
Reply With Quote
  #14  
Old 05-25-2008, 01:27 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Emailed invoice.

To stop the initial email from being sent (although I do not recommend it) you can modifiy include/func/func.order.php. Look for the section marked "This function change order status in orders table".

Find where it says "db_query("UPDATE $sql_tbl[orders] SET status = 'Q' WHERE orderid = '$orderid'");"
Just under that line, change $send_notification = true; to false. I think that should do it, but test to make sure.

To be honest, if you are not using the "processed" function, it would be easier to just uncheck the "email customer" in the admin section so they would not get this email. The customer would receive the initial email which contains all of the information about their order, then the email from Worldpay once their credit card is charged. The only difference is the "this is order notification #no 1" and "Dear Mr Customers first and second name. Thanks for placing your order. Please come back soon." which are just "language" labels and text that can be changed... I suggest "Thank you for your order #no1" for the initial email, "Thank you for shopping with us. Below is your order receipt." which can be changed by look for "order notification" and "thank you" in the languages section. Its much easier to do, and much easier to undo if sometime in the future you need the initial email sent for some other reason (like payment by money order for instance)
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #15  
Old 05-26-2008, 02:09 AM
 
JMC JMC is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 35
 

Default Re: Emailed invoice.

Thanks for your reply.

Great specific information from someone who is running their own store and knows the ins and outs of what works most efficiently.

I will run my order e-mails as you suggested as this will be fully understood by my customers. I will attempt to change the text as well in the notification e-mail. I have managed to change the logo in the sent e-mail some weeks ago, so I think I will be able to get the text sorted out.

Thanks again for all your kind, patient, help. Really looking forward to my store being fully live and hopefully profitable.

Kind regards from john, based in scotland, uk.

__________________
x-cart gold version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:09 PM.

   

 
X-Cart forums © 2001-2020