VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: bunglehaze on January 02, 2012, 13:11:39 PM

Title: no order emails to vendor
Post by: bunglehaze on January 02, 2012, 13:11:39 PM
I have found another issue with stable that wa sno there in RC3. Each time i place an order the vendor confirmation email is not sent, paypal confirmation comes through though as does new user registration details - everything BUT the order itself which is required for my shipping. Any ideas?
Title: Re: no order emails to vendor
Post by: bunglehaze on January 05, 2012, 12:52:14 PM
Bumping this one as no replies. It would appear that the VM Standard payment plugin sends email out but anything ordered via the PayPal plugin goes missing or not sent out. Any ideas?

Title: Re: no order emails to vendor
Post by: alatak on January 05, 2012, 15:19:01 PM
Hi,

Sorry i did not answer before. i will have a look at it.
Title: Re: no order emails to vendor
Post by: wschouten on January 06, 2012, 15:59:26 PM
Quote from: bunglehaze on January 02, 2012, 13:11:39 PM
I have found another issue with stable that wa sno there in RC3. Each time i place an order the vendor confirmation email is not sent, paypal confirmation comes through though as does new user registration details - everything BUT the order itself which is required for my shipping. Any ideas?

Same problem here, need an answer to this problem fast.
Title: Re: no order emails to vendor
Post by: timoleon on January 07, 2012, 16:53:16 PM
I have the same problem...  please help...
Title: Re: no order emails to vendor
Post by: bunglehaze on January 11, 2012, 14:01:19 PM
Any headway on finding the source of the issue Alatak? I am missing customer orders off occasionally because the mail does not get to me.
Title: Re: no order emails to vendor
Post by: iFadi on January 14, 2012, 21:38:53 PM
me 2, when someone orders something with Paypal, i dont get any email confirmation nor the customer.
Title: Re: no order emails to vendor
Post by: sydneyartschool on January 17, 2012, 09:47:14 AM
Hi - any updates to this?
Title: Re: no order emails to vendor
Post by: bunglehaze on January 17, 2012, 13:02:02 PM
For some very strange reason the order emails are not being sent 99% of the time, occasionally though one actually arrives. I have eliminated filtering as SPAM by turning off any interception on the mailbox and setting up a dedicated mailbox for the orders too, interestingly though I found something else while tesing this : if I place an order through a free mail service (google or yahoo tested) any mail from the shop gets marked as spam straight away. I am not sure if there are any settings within VM that would stop this from happening as it may be a contributing factor on some people's sites.

Other than that are there any areas of the shop I should look in to in order to try and diagnose the issue as I need to get this resolved pronto.

regards
Title: Re: no order emails to vendor
Post by: bunglehaze on January 17, 2012, 13:04:44 PM
Alatak, is this any help?

http://forum.virtuemart.net/index.php?topic=96318.0
Title: Re: no order emails to vendor
Post by: bunglehaze on January 18, 2012, 14:09:30 PM
Another thing to add: I changed the storeadmin user in the backend to use the new email address, since doing this I am getting a couple of different mails and messages on test orders:

First of all, on completion of the order and Paypal transferring back to the site I am seeing this above the payment complete message:


QuoteYou must provide at least one recipient email address.
Language string failed to load: invalid_address: Language string failed to load: invalid_address: You must provide at least one recipient email address.

That looks to me as though the site has 'lost' the recipient of the order email, whether that be the user which I doubt because my user order confirmations are still coming through fine but most likely it would appear that VM does not see a user to send the admin order confirmation through to - I may be wrong but this is where the results are leading me.

Secondly I am getting a confirmation email for the order status change that just has a load of missing language:

QuoteCOM_VIRTUEMART_ORDER_STATUS_CHANGE_SEND_MSG_1
COM_VIRTUEMART_ORDER_HISTORY_COMMENT_EMAIL:
Your payment for order 046e6a6b has been confirmed by Paypal

COM_VIRTUEMART_ORDER_STATUS_CHANGE_SEND_MSG_2 Confirmed


COM_VIRTUEMART_ORDER_MAIL_SHOPPER_YOUR_ORDER_LINK

Any chance a developer can take a look at this please? It has been 13 days since the last dev input and 16 since the original message, half a month operating a store with no admin mails is getting frustrating to say the least and without any dev feedback I cannot even know if I am looking in the right places for a fix.

regards
Title: Re: no order emails to vendor
Post by: bunglehaze on January 18, 2012, 18:58:14 PM
A quick update, since i changed the vendor (storeadmin) in the backend I can no longer editstore, it goes through to shopper details and not the editstore page. It would appear in this case that my fears were correct and that by adjusting this in the backend I have forced VM to 'lose' its store owner details and as a result a person to email to.

Any chance someone could advise me the best way to set this back using phpMyadmin please? Once I have sorted that i can check if the recipient email address issue goes away and move on to the missing language files.

I have looked in the db and cannot see what needs to be changed, in "jos_virtuemart_vmusers" the userid 63 is set as vendor and has storeadmin perms, I have two addional tables "jos_virtuemart_vendors" and "jos_virtuemart_vendors_en_gb" with two different entries in and neither of which appear to contain any actual user data

That is of course if I am correct in the way that the storeowner actually works in VM2 - why did it have to be changed to such an odd format from VM1?
Title: Re: no order emails to vendor
Post by: design609 on January 20, 2012, 01:49:34 AM
Hi
VM 2.0 Joomla 1.5.25 and also Joomla 1.7.3
I got my mails going to admin (order confirm) and to customers (their order confirm). Thou this is through a simple invoice payment and not the PayPal, so do not know if it is different.

I made sure to use a email: info@mydomain-wheremyVMis.com
- In the Global configuration
- In Shop-> General user information

- In Shop->Additional information my Vendor is set to "Admin" NOT storeadmin

Might help these settings.

PS. @bunglehaze
Maybe make a new admin account in Joomla user-manager and login with that account to set up a new Shop-vendor ect. ? - Just an idea

Cheers
Title: Re: no order emails to vendor
Post by: bunglehaze on January 20, 2012, 12:37:17 PM
I reset my vendor already but the "You must provide at least one recipient email address.
Language string failed to load: invalid_address: Language string failed to load: invalid_address: You must provide at least one recipient email address." still occurs upon completion of a sale.

I am now waiting to see if I get the admin confirmation but with the error message I am assuming that it will not be coming still.

With the additional people also reporting the same error I am a bit disappointed that there has been absolutely NO response from a dev on this issue. I even went through and checked Alatak's online status yesterday to ensure i was not expecting a response from someone who was inactive.
Title: Re: no order emails to vendor
Post by: sydneyartschool on January 22, 2012, 06:18:11 AM
I'm disappointed too.

Tried the fix posted by Revo in another thread but got the same garble coming through.

Can anyone tell us if they have solved this and how??
Title: Re: no order emails to vendor
Post by: vazi on February 18, 2012, 16:06:06 PM
same problem for me too, anyone did get resolve the problem?
Title: Re: no order emails to vendor
Post by: robboh69 on February 28, 2012, 16:28:26 PM
I also have this email-problem still in 2.0.2 (joomla 1.7.3)

"Could not initiate emailfunction" (PHPMAILER_INSTANTIATE) is the errormessage.

My customers get the email of their order, but I don't. I have to check manually in administration if I have new orders.

I was thinking of making some temporary hack to also send a "seecret copy" of the customers email to my adress, but I'm not sure exactly in what files to start digging...
Title: Re: no order emails to vendor
Post by: robboh69 on February 28, 2012, 18:10:01 PM
I got things working now!

I changed email settings in joomla global configuration to use SMTP and filled in my account infos there and that did the trick in my case!
Title: Re: no order emails to vendor
Post by: sandstorm on April 06, 2012, 14:26:37 PM
Any Joy with Bungle's original problem?

I'm not using vendors, but users are getting the same message when checking out "You must provide at least one recipient email address."

Andy
Title: Re: no order emails to vendor
Post by: muddauber on September 12, 2012, 00:07:02 AM
Has anyone resolved the problem with email order notifications
and PayPal shipping. I am not getting any notifications of orders,
only verification of Payment with PayPal.

See post:
VM Standard payment plugin sends email out but anything ordered
via the PayPal plugin goes missing or not sent out. Any ideas?
Title: Re: no order emails to vendor
Post by: Milbo on September 12, 2012, 00:31:46 AM
muddauber, this post is talking about version 2.0.2 and a bit 2.0.4 maybe. Which version do you use? Please read http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: no order emails to vendor
Post by: muddauber on September 12, 2012, 18:31:15 PM
I'm using Joomla 2.5.6 and VirtueMart 2.0.10.

I worked through the jupgrade migration and this is my
only snag. We are a small shop and having the
shopkeeper get an email of the order was the
most efficient. With new version, I see that
warning:

"PAYPAL
     Warning - In VM2, the vendor and buyer will ONLY receive an email when the transaction is complete."

Title: Re: no order emails to vendor
Post by: ngenge on September 25, 2012, 11:30:25 AM
Please check this link. http://forum.virtuemart.net/index.php?topic=96541.msg359637#msg359637

It is working for me. After payment in paypal, automatically send confirmed order mails to both vendor and buyer.
I put following 4 lines in the function plgVmOnPaymentResponseReceived ---> plugins/vmpayment/paypal.php

$modelOrder = VmModel::getModel ('orders');
$order = array();
$order['order_status'] = 'C';
$modelOrder->updateStatusForOneOrder ($virtuemart_order_id, $order, TRUE);

Before $cart = VirtueMartCart::getCart (); around line 387

Thanks deewhyweb for your post :)
(http://forum.virtuemart.net/index.php?topic=96541.msg359637#msg359637)