News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Order Status Emails Not Working

Started by sydneyartschool, February 13, 2016, 11:34:32 AM

Previous topic - Next topic

sydneyartschool

Virtuemart 3.0.12
Joomla 2.5.28

I upgraded from VM 2.6.18 to 3.0.12 so that I could start to prepare for a migration of to Joomla 3.
Order confirmation/status emails have stopped working properly.

Order Status Email DOES NOT SEND when shopper starts/finishes transaction
Order Status Email however DOES SEND when status is changed manually.

In CONFIGURATION>EMAILS
Default Order Status to send email to shopper is set to Paid, Cancelled, Refunded
Default Order Status to send email to vendo is set to: Pending, Paid, Cancelled, Refunded

I have tried various combinations of text and html email.  php, and smtp mailers.
I have tried installing VM 3.0.11
Nothing seems to work

I remember having a similar problem some years ago and someone suggested using a file from an older version of VM which I recall seemed to work.  But for the life of me I can't find that post.

Can anyone throw any light on what might be the problem.

jenkinhill

What order status is your payment plugin returning?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sydneyartschool

I am using Paypal (Standard)

When the shopper first places the order and checks out the Order Status is Pending
When the shopper pays at Paypal the Order Status becomes Paid.

I'm assuming these are coming from the payment plugin.

GJC Web Design

pending no longer sends mails
check all your configs for emails in VM .. there are new settings
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sydneyartschool

Hi GJC,  as per my original email.  This is not a config issue.

I agree,  Pending staus is not available as a trigger to generate an email to a shopper.
However,  it is still there as a a trigger for vendors.  (If this has also been deprecated then the admin interface is still showing it as an option).

Regardless,  that does still not explain the lack of emails for Paid and Cancelled order status events.

BTW.  Since the original bug report I have upgraded to Joomla 3.4.8 and the email defect is still there.
(So this probably rules out the Joomla version as the problem).

There seem to be other posts that describe similar defects.   So I suspect a lot of people will be happy if we can bottom this one out.

GJC Web Design

another possibility is if a pdf invoice is set to generate on confirm but this fails.. can you produce a pdf invoice?
if not check the server logs.. is often a lack of server memory
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

sydneyartschool

GJC:  You are a genius.
Milbo:  I thank you for the link ... very useful


So my configuration was set to create an invoice on PAID. 
But when I checked the invoice in the orders screen I was getting a TCPDF ERROR: [Image] Unable to get the size of the image: http://sydneyartschool.com.au/images/stories/virtuemart/payment/paypal visa mc.png

Chanced the image to jpeg and all is now good.  Vendor and customer are getting emails on PAID.

Interesting that the configuration still shows the option of the vendor receiving an email on PENDING status.  But this seems to have gone away.
This was a useful feature it enabled us to follow up in with people in real time if they were struggling with the online system.

But at least we get the email confirmation on PAID which covers  95% of our requirement.

Thanks again for the help. 

SAS

GJC Web Design

QuoteInteresting that the configuration still shows the option of the vendor receiving an email on PENDING status.  But this seems to have gone away.
This was a useful feature it enabled us to follow up in with people in real time if they were struggling with the online system.

Is it not possible just to make some other status e.g. not completed.. and set the 'pending" ones to that in the payment plugin and trigger an admin email for?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Quote from: sydneyartschool on February 14, 2016, 15:17:42 PM
GJC:  You are a genius.
Milbo:  I thank you for the link ... very useful



lol, in the link stands your answer and I wrote it. Any part of the whole matter, lol.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kalestud

#10
Hate to tell you this, but that's not the solution.
I also get a lot of TCPDF errors when saving order heads.

I removed all old media and made a new vh_logo.jpg, also dove into the database where it was still on the old .gif and changed it.
I still get the message:

TCPDF ERROR: [Image] Unable to get the size of the image: images/stories/virtuemart/vendor/vh_logo.jpg
As you can see, no full addres here, but the relative path.

So I figured, maybe it's got to do with the base URL ad tried changing it from http://www.domain.ext to the actual https://www.domain.ext and even www.domain.ext and domain.ext, all to no success.

I'm sowly loosing my mind over this....
VM 3.0.14 / J! 3.5.0

GJC Web Design

there is a post on here from ages ago about this.. from memory it was only on particular server setups and was TCPDF library related . not VM
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kalestud

 changed stuff to the config of virtuemart, but looking at the database, it still wants files that aren't there anymore. That has nothing to do with tcpdf...

Milbo

Install our tcpdf version 1.0  for vm3, if your vm is quite old (vm2.6) then you may have to use the tcpdf 0.8
http://dev.virtuemart.net/projects/tcpdf
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/