VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: kellyguru on December 03, 2013, 15:37:40 PM

Title: Creating my own order status - Worked, but now email sent issues?
Post by: kellyguru on December 03, 2013, 15:37:40 PM
Hey there,

I am trying to make a new order status to default the invoices to in the checkout configuration so that they will not be sent. My company does not want invoices sent in virtuemart.

I have tried to make a new status but do not have a new unique order status code to use. Which code would I use or how would I make a new order status code that would keep invoices from being sent?

Thank you,
Title: Re: Creating my own order status - I do not want invoice sent
Post by: WebStuff on December 03, 2013, 17:40:48 PM
Go to Configuration->Order Statuses hit the [New] button and create status call it "No Invoice", set Order Status Code to 'Z' and save it.
Go to Configuration->configuration->Checkout and add it to the "Default Order Status to create an invoice" and delete any others that are there. Choose [Save & Close].
Title: Re: Creating my own order status - I do not want invoice sent
Post by: kellyguru on December 03, 2013, 20:23:34 PM
Thank you very much! This worked great :)
Title: Re: Creating my own order status - I do not want invoice sent
Post by: kellyguru on December 05, 2013, 22:52:35 PM
Hey there,

Since I performed this fix I have begun having vendor and purchasor sent email problems.

I am not receiving vendor emails nor are the purchasor's of any of my products in virtuemart receiving confirmation emails when new orders are made.

Could the invoice issue be a problem? I am also having the install tcpdf error showing up, however my emails were working fine yesterday with no issues on them being sent or received - with this error happening at that time.
My website is ww.limberlost.ca

Thank you,
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: jenkinhill on December 05, 2013, 23:19:56 PM
Mails won't be sent if the invoice cannot be created, such as with a tcpdf issue or insufficient php memory allocation to allow invoice creation.
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: kellyguru on December 06, 2013, 19:33:43 PM
Quote from: jenkinhill on December 05, 2013, 23:19:56 PM
Mails won't be sent if the invoice cannot be created, such as with a tcpdf issue or insufficient php memory allocation to allow invoice creation.

Hey there,

I have now installed the tcpdf library. However now when I change the order status to confirmed - which produces an invoice - the screen just goes white and nothing happens.
However I can change other statuses no problem. But I'm still not receiving emails with update confirmations.

Would this be a php issue?
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: kellyguru on December 06, 2013, 20:16:34 PM
Also, I am still not receiving emails for orders made. Nor am I receiving invoices - and I cannot force an invoice. I simply get a blank white screen.
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: kellyguru on December 06, 2013, 20:23:26 PM
As well, I cannot change the vendor email any longer.
I get some kind of vm error but it is simply blank. It looks like this:

vmError:

I am quite confused. If anyone knows any direction I could go in with this, then I could try and trouble shoot from there.

I am going to my hosting now to see if perhaps the issue is that I can only send emails out of my hosting account as long as they are emails registered to the host. Right now my vendor email is a sympatico address, which is not registered to my host.

I will get back with details.
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: jenkinhill on December 06, 2013, 23:59:37 PM
Blank page in Joomla is usually result of a 500 error, so check the server error log for the cause.
Title: Re: Creating my own order status - Worked, but now email sent issues?
Post by: WebStuff on December 10, 2013, 12:38:25 PM
This change shouldn't introduce these errors.
I would be inclined to think it is a template issue or as you say possibly if you are trying to send emails from a "non-allowed" origin.
If it is an email issue I would still expect VM to "fail" gracefully. Agree with JenkinHill and would say your error logs are your best friend at times like this.
I'll be glad to help if I can.