Jump to content

Order Confirmations to Admin not arriving


Recommended Posts

If I had any hair, I would have pulled it out by now!
Every time I get something working, something else fails.

Whenever I make a testorder, my confirmation mails as a customer arrive immediately and without fail.
Up until day before yesterday, my client also got them as the admin (store owner)

Then all of a sudden, no more admin mails arrive, while I still get all my customer mails. (of course we checked the spam folder)
I have even added another admin-account with another email, "Receive order notifications?" checked on both of them.

But it gets even more strange:
If I change the status of an order from "Pending" to "Processing", a confirmation mail to the Admin(s) is immediately sent. And it looks exactly like the original order confirmation that never came.

I have since changed the Sending Method from php mail() to SMTP with TLS, but nothing changes.

I DID however change "gateway.class.php" as instructed by #bsmither in this thread:

https://forums.cubecart.com/topic/38607-extra-text-field/

I can't see how this would affect Admin-mails though.
To check I changed back to the old gateway.class.php and still get the same effect.

What is going on here, especially with mails arriving only after changing the status?

Link to post
Share on other sites

In admin, Store Settings, Features tab, Misc section, "Order status for admin email notifications", the admin can be notified when a new order goes to Pending or Processing. (All statuses are listed, but the core code only pays attention to Pending and Processing.)

The POF has this courtesy email function because CubeCart, itself, does not send an email to the customer when their newly created order sits at Pending.

 

  • Like 1
Link to post
Share on other sites

It is a default setting.

In the file /setup/index.php, near line 81, is a list of all the initial settings. The "admin_notify_status" is set to "2" (Processing).

 

  • Like 1
Link to post
Share on other sites

Generate Schedules Every 15 Schedule Ahead for 20 Missed if Not Run Within 15 History Cleanup Every 10 Success History Lifetime 60 Failure History Lifetime 600

There are people suggesting these settings should be changed, but since they can’t seem to agree on the best combination, I’d rather leave it as it is.

You then need to go into your hosting control panel and set up cron jobs. In cPanel it’s under Advanced > Cron Jobs. Set them up to run every five minutes and use this command.

 

 

FaceTime

Edited by Smith698
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...