VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ironbone on September 01, 2019, 12:18:39 PM

Title: SOLVED. No confirmation email is send automatically
Post by: ironbone on September 01, 2019, 12:18:39 PM
VirtueMart 3.6.0 10113
Joomla! 3.9.11

All the status are set to the default. I use PayPal.

After the payment has been processed,  PayPal inform my system successfully. The order status is set to Confirmed and the green mark is set to the Paid for the item.
Unfortunately NO email is send to the customer.

I have set to generate the invoice and send the confirmation to the customer after the status changes to Confirmed - the default settings.

BUT

When I change the status to something else and then change to confirmed the email with the invoice is send successfully to the customer.


Title: Re: No confirmation email is send automatically
Post by: krotec on September 17, 2019, 01:05:28 AM
I am having more or less the same issue except everything is always set at pending. I use stripe and paypal and have the same issue with both. Is this an issue with the latest version of vm ?
Title: Re: No confirmation email is send automatically
Post by: GJC Web Design on September 17, 2019, 09:51:31 AM
and when u manually set an order to Confirmed?

have you received ipn notifications from paypal?

Title: Re: No confirmation email is send automatically
Post by: ironbone on September 21, 2019, 11:50:32 AM
As described. When I set the "Confirmed" manually the email with the invoice is send to the customer without problem.

Title: Re: No confirmation email is send automatically
Post by: ironbone on September 21, 2019, 12:06:55 PM
Maybe this is the problem.

The system is NOT able to sent the email when additionally thee is a PDF invoice generated and should be attached to the email.

When I just set the system to send an email, without generating and attaching PDF invoices. it works well
Title: Re: No confirmation email is send automatically
Post by: Studio 42 on September 21, 2019, 18:24:26 PM
Try perhaps to increase max_memory_size in PHP settings
Title: Re: No confirmation email is send automatically
Post by: GJC Web Design on September 21, 2019, 20:32:58 PM
try also some higher reporting / debug to try and see why the pdf invoice creation is failing
Title: Re: No confirmation email is send automatically
Post by: ironbone on September 21, 2019, 20:52:00 PM
The pdf invoice is created but the email is not send

In logs there are no error reports
Title: Re: No confirmation email is send automatically
Post by: GJC Web Design on September 22, 2019, 10:33:08 AM
try stable bug fix release http://dev.virtuemart.net/attachments/download/1187/com_virtuemart.3.6.2.10155.zip
Title: Re: No confirmation email is send automatically
Post by: ironbone on September 22, 2019, 22:42:57 PM
There is no progress after installing the above  version.

Just to make the problem clear.

After completing of a transaction PayPal informs the system and in VirtueMart the status of the transaction is changed.
If  the new status is connected with sending email then:
1. If no invoices should be created and no invoice should be send then the system send the  email  as expected

2 If with the new status the system should create an invoice which should be send to the user then the PDF INVOICE  is generated BUT NO email is send to the customer

When I manually change the status (as in 2.) then the invoice IS created and the email with this invoice IS SEND to the customer

Title: Re: No confirmation email is send automatically
Post by: Studio 42 on September 23, 2019, 09:38:58 AM
Have you try to increase the max_memory_size to be sure it's not related ?
Title: Re: No confirmation email is send automatically
Post by: ironbone on September 23, 2019, 15:39:26 PM
The same problem after changing the memory_limit from   
256M
to
384M
Title: Re: No confirmation email is send automatically
Post by: Studio 42 on September 23, 2019, 21:28:39 PM
I always use 512M or more else i have similar problems with PDF
Title: Re: No confirmation email is send automatically
Post by: ironbone on September 24, 2019, 12:02:30 PM
I have change the memory_limit to 512M and still the same problem
Title: Re: No confirmation email is send automatically
Post by: GJC Web Design on September 24, 2019, 12:28:32 PM
Then you will need to do some debugging -- no one else is reporting problems with this so you have to assume it is a problem unique to your set up
Title: SOLVED: No confirmation email is send automatically
Post by: ironbone on September 24, 2019, 22:57:02 PM
I have solved this problem.
The problem was the conflict between DPCalendar and VirtueMart. The DPCalendar also install and use tcpdf.
First it has blocked new fonts in VirtueMart and the solution was to inactive some of their plugins.
But it was not enough and I had still the above described problem. The final solution was to  uninstall completely DPCalendar.

Thank you  for help.