VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: gp on March 06, 2012, 02:59:05 AM

Title: No email sent at all after the customer paid his order
Post by: gp on March 06, 2012, 02:59:05 AM
Hi,

I'm using VirtueMart 2.0.0 on Joomla 1.7.5.

Once my customer has paid his order (via PayPal) no email is sent to the customer neither to me (the admin).

What's wrong?

GP
Title: Re: No email sent at all after the customer paid his order
Post by: dron_gr on March 06, 2012, 09:38:51 AM
I have the same problem but i didnot took any clear answer yet. The only solution that i have given is to upgrade to 2.0.2. At least for me its not an option. So the question is still revelant!!!
Title: Re: No email sent at all after the customer paid his order
Post by: gp on March 07, 2012, 14:37:07 PM
I had to customize the php code to get it the way I needed. So, upgrading to 2.0.2 just for fun is not an option for me neither. However, if I would be sure that this update will fix this issue,  I would be ready to install this update then redo all my customization after it.

Do you know if this update really fix this problem?

Thanks anyway.

Title: Re: No email sent at all after the customer paid his order
Post by: Renata on March 07, 2012, 17:13:44 PM
You should upgrade i think as many errors has been solved since 2.0.0.

In case of sending mail: all is working in good order in VM 2.0.2 but ONLY if you are the only admin and vendor/supplier.

If some else is vendor they wont get e.mails. f.a. i built a VM shop for a customer so i am admin. I created an account for my customer and made him vendor and admin. Also "sent system e.mails" is activated with his account.  Problem: i still get the system e.mails and my customer doesn't get them.

I am looking for a solution but uptill now didn't find it. So if someone can help me i will be very thankfull.

Kind regards
Renata
Title: Re: No email sent at all after the customer paid his order
Post by: goctopus on March 08, 2012, 07:27:44 AM
Does this functionality exist at all in version 2.0.0?

If not, would it be difficult to patch in?
Title: Re: No email sent at all after the customer paid his order
Post by: HenrikS on April 14, 2012, 13:27:01 PM
I am having the same problem in 2.0.4 .. ant solution yet?
Title: Re: No email sent at all after the customer paid his order
Post by: Renata on April 14, 2012, 13:43:38 PM
Hi

this problems seems to be bigger as we thought.

General: i solved e.mail matter by switching accounts. I gave my customer my account and i took his account. Afcource changed names etc and all works fine. So if the person who should receive the e.mails has account nr 42 (standard first account nr of joomla) than all works in good order.

But a new problem arised:

If you use online payments VM such as iDEAL or Paypal than still e.mail confirmation to customer and vendor still doesn't work. Only offline payments work if you follow as i suggested here before. This is a major problem and not only related to VM and/or iDEAL Paypall. I understood from the makers of iDEAL that they together with VM are investigating this problem right now.

If i know something i will inform you. Afcource if Virtuemart themselves want to react here, they are welcome to do so.

If you are Dutch you can find more information here:

*click* (http://www.joomlaforumnl.nl/forum/forum/52-virtuemart-2-0-x-installatie-upgrade-en-backup/19426-virtuemart-2-0-2-geen-e-mailbevestiging-van-bestelling)

Kind regards
Renata

Title: Re: No email sent at all after the customer paid his order
Post by: Robert V. on July 11, 2012, 00:41:04 AM
Got the same problem with 2.0.6.

However I'm sure it's in the ideal.php that is being used. The ideal check out i'm using is probably the only one around that is free of charge.
It is only about 500 bytes, but the install adds sth to the database (the joomla_extensions table) and accesses it with the following code....



   /*
      Let us help you to create a suitable configuration file for your iDEAL Checkout plug-in.
      Go to: http://www.ideal-checkout.nl/
   */


   // Bank Layout Code
   $aSettings['LAYOUT_CODE'] = '12345';   //sample number


   // Basic gateway settings
   $aSettings['GATEWAY_NAME'] = 'BANKNAME - iDEAL';
   $aSettings['GATEWAY_WEBSITE'] = 'http://www.bankname.nl/';
   $aSettings['GATEWAY_METHOD'] = 'ideal-bankname';
   $aSettings['GATEWAY_VALIDATION'] = true;

Now my question is:

How to get the standard ideal plugin (../plugins/vmpayment/idealcheckoutideal.php) into this one to send an email only when the payment is confirmed???
Whenever i'm trying to add sth. to this php code there is no connection to ideal at all...


Can anyone help pls???

Kind regards and hoping of a reply

Title: Re: No email sent at all after the customer paid his order
Post by: marcolegemaate on July 16, 2012, 13:20:13 PM
I got my idealcheckout plugin sending confirmation e-mails again after changing the following in line 307 of /plugins/vmpayment/idealcheckoutideal/idealcheckoutideal.php
(using Virtuemart 2.0.8 and Joomla 2.5.6)

$aOrder['customer_notified'] = 0;

into

$aOrder['customer_notified'] = 1;

After this change is seems that the function updateStatusForOneOrder is sending out the e-mails to customer and vendor.

Regards,
Marco Legemaate
Title: Re: No email sent at all after the customer paid his order
Post by: Robert V. on July 17, 2012, 03:34:34 AM
Thanx marcolegemaate, this works! Got only 1 problem to solve now -> This fix is causing the following error notice:

Notice: Undefined offset: 77 in /site/libraries/tcpdf/tcpdf.php on line 22984

I'll get into this problem; like how to turn this message off
Title: Re: No email sent at all after the customer paid his order
Post by: jenkinhill on July 17, 2012, 10:51:16 AM
http://forum.virtuemart.net/index.php?topic=102555.0
Title: Re: No email sent at all after the customer paid his order
Post by: Robert V. on July 17, 2012, 22:51:02 PM
Thank you jenkinhill

That did the trick  8) ;D

Well i think this is solved now. Should we close this topic????