Hi all,
Below are the details of the installation:
Joomla Version running on site: Joomla! 2.5.6
Shopping Cart: Virtuemart
Shopping Cart version running: 2.0.8e
Vendor Details: The cart has just one vendor which has email id set same as the email of the admin user and rights set to superuser.
Payment Gateway Used: 2checkout (https://www.2checkout.com/shopping-cart/virtuemart/)
Checkout Settings: No login/registration required to checkout.
Problem Faced:
1. The vm system sends an automated email to the customer when an order is placed. This email does not get sent in our installation.
2. The vm system sends an automated email to the vendor when an order is placed. This email does not get sent in our installation.
3. The only email that is being sent when a new order is placed is from the payment gateway with the below details:
Sender email: no-reply@2co.com
Sent to: customer (the email id that the customer adds while checking out)
This is ok, however if possible, we would want the vm system to be sending out its emails as well.
Any help by the gurus or anyone who faced a similar problem and solved it would be highly appreciated. Thanks in advance.
Varun
Well, first you should update to Joomla 2.5.7 and VM 2.0.10 or 2.0.11e. Without knowing your email setup the only thing I could suggest is to change email settings from php mailer to SMTP in Joomla configuration (if you didn't try this already).
Hi JJK,
Thanks for your reply.
1. change email settings from php mailer to SMTP in Joomla configuration (if you didn't try this already).
Reply:
Feel that this may not solve the issue because the emails are being sent correctly from the system in other scenarios. We know this because vm successfully sends email when the admin changes the order status. So, the SMTP settings work out fine.
2. first you should update to Joomla 2.5.7 and VM 2.0.10 or 2.0.11e.
Reply:
Just to check it up, we installed a Joomla 2.5.7 and VM 2.0.11e on a new server. However, the same issue was coming there as well, ie:
>The vm system sends an automated email to the customer when an order is placed. This email does not get sent in our installation.
>The vm system sends an automated email to the vendor when an order is placed. This email does not get sent in our installation.
>The vm system sending out successful emails on change of order status by admin
At the moment I have no other idea what could be wrong with your system. All VM2 emails are working fine for me.
Hi,
Could you check if you have the option under shopper admin/storeadmin configuration to receice system mail?
Also do you use any custom payment plugin that may be not send's mails to vendors? Payment plugins can override that mail function. If yes, try with the standard payment and shipment for testing it.
What you have select in the backend configuration->checkout Default Order Status to send an invoice ? Confirmed?
Regards
Hi JJK, bytelord,
Thanks for replying.
Could you check if you have the option under shopper admin/storeadmin configuration to receice system mail?
Reply: Yes, that option is checked to yes.
What you have select in the backend configuration->checkout Default Order Status to send an invoice ? Confirmed?
Reply: Yeah, receive invoice on confirmed.
Also do you use any custom payment plugin that may be not send's mails to vendors? Payment plugins can override that mail function. If yes, try with the standard payment and shipment for testing it.
Reply: Spot On!!!! We are using 2checkout's default plugin provided by the 2checkout company. This seems to be the problem I guess. We tried Paypal just to test, and it's sending out emails fine. We mailed 2checkout support to advise a solution for the problem. In the meantime, we are checking up with other non company plugins for 2checkout. Will get back on if they solve the problem, and also what the guys at 2checkout have to say.
In the meantime, in case anyone has any possible solutions or comments, please let us know.
V
ok then,
It's those plugins issue, if you familiar with PHP and study a little bit the existing payment plugins could probably find the solution, because those plugins will also use the same vmpayment plugin functions, so you could correct that part that did not send the mails.
you could check if that function is been used: sendEmailToVendorAndAdmins
Regards
Hi,
The issue of notification mails not sent to buyer and vendor on a purchase has been fixed. It was a bug in the 2checkout plugin for virtuemart (the one provided by the company, not third party ones). It has been fixed by 2co support and uploaded for download.
We came across another bug with the 2co installation on vm. Virtuemart has the option of taking 2 addresses - Shipping and Billing.
If the user decides to add both addresses, the shipping address is passed to the 2co page instead of the billing address. We are trying to work this out. In the meantime, any comments on this by the gurus would be appreciated. Thanks in advance.
Regards,
V
Hello,
QuoteIf the user decides to add both addresses, the shipping address is passed to the 2co page instead of the billing address.
The billing address is in $order['details']['BT']
The shipping adress is in $order['details']['ST']
Hello. I'm having this same issue but with the VM Paypal Gateway.
I have already done all the things you guys mentioned here but no luck so far. :(
I have firstly encountered same problem when customer choose to pay with paypal
now I practically don't receive any email.
I have checked:
Administrator receive email --> yes
Send email with PHP MAIL function ( I have tried also with sendmail but same result )
Order to receive on confirmed and pending ( so maybe this should solve also paypal issue )
I have tried asking a question about a product, but no result both on customer email and administrator, nothing arrived.
QuoteIn VM Configuration/Shop try turning on/off "Use the vendor email address" and make sure that you have correct entries for "Default Order Status to send email to vendor " in Configuration/Checkout
Hi all,
:) After hours of searching I found the error.
It appears that the table virtuemart_payment_plg_epay (or equivalent) is the datatype "tinyint" wich ranges from 0-255. Change it to "INT" and it works again.
Tadaaa...!
F10-Media.dk
Hello, I was having the same problem, found the solution in this link:
http://www.chillcreations.com/manuals/ccvaom/548-how-to-disable-default-virtuemart-e-mails
good luck.
Ok, it seems that this problem has still not been solved in the latest version of VM.
We are now using VM 2.0.24a.
New Order mails (both vendor and shopper) seem to work fine (which has us assuming that the mail settings on the server are correct).
However, the order status change mails don't work at all. We have the correct settings in Configuration->Checkout->Default Order Status to send email to shopper: Confirmed by shopper, Confirmed, Shipped, Cancelled, Refunded.
We're using paypal sandbox to check it up currently. Will be using Sagepay on deployment.
Anyone faced this problem with the order status email change before?
V
hi guys
did you solve? I do it:
in components/com_virtuemart/views/pluginresponse/pluginresponse/tmpl/default.php after JHTML::_('behavior.modal');
insert:
--------------------------------8<----------cut ----------------------
$order_id=$_GET['on'];
$query = 'select virtuemart_order_id from PREFISSOTABELLE_virtuemart_orders where order_number="'.$order_id.'"';
$db = JFactory::getDBO ();
$db->setQuery ($query);
$result=$db->loadObjectList();
$virtuemart_order_id=$result[0]->virtuemart_order_id;
$modelOrder = VmModel::getModel ('orders');
$order['order_status'] = 'C';
$order['virtuemart_order_id'] = $virtuemart_order_id;;
$order['customer_notified'] = 1;
$order['comments'] = "Pagamento ricevuto tramite PayPal per ordine ".$order_id;
$modelOrder->updateStatusForOneOrder($virtuemart_order_id, $order, true);
--------------------------------8<---------- end of cut ----------------------
ciao ciao
Default Order Status to send email to vendor - add Pending
How does it work with the vm2.5?
Same problem here.
I created a custom payment method with 0 fees and the email didn't work. As soon as I added some fees for the payment, the email worked. ;D