VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: arcojml on October 10, 2019, 07:01:26 AM

Title: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 07:01:26 AM
I just reinstalled virtumart (joomla 3.9.12 - virtuemart 3.6.2)
Everything works, but not a single email is sent after something is ordered in the shop.
When registering a user, both user and admin get an email. (so the mail itself works fine)

If I activate 'debug email' I also see nothing, so there aren't even emails made...
Can it be I've overseen some option that causes this?

Peter.
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 07:46:08 AM
Could be a TCPDF issue, please search the forum.

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 12:25:07 PM
Thanks,

What I understand is thats some kind of template? (I never installed that and I see nothing with that name in plugins...)
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 12:30:46 PM
You NEED TCPDF to create PDF invoices, without TCPDF your email creation will crash if You use PDF invoices.

Please install the included TCPDF version.

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: GJC Web Design on October 10, 2019, 12:39:05 PM
http://dev.virtuemart.net/attachments/1166/com_tcpdf_1.0.8.zip
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 12:53:56 PM
I use default (don't think that's pdf?).
Just re-installed VM, no difference. Also did 'Restore system defaults', no difference.
Is there some logfile that can tell what is going wrong?

I hope I don't have to re-install Joomla again... (would be the second time this month...  >:( )
(first time jDownloads crashed unrepairable)

What is the easiest way to backup shop info, products and categeories? (I don't to enter all of that for the third time...)
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: GJC Web Design on October 10, 2019, 13:10:59 PM
Akeeba
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 13:31:14 PM
Yes,

But I can't backup VM content only with akeeba?
Just deleted database and made new one / backup installed: same result...
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 13:42:15 PM
You have to take it step by step.

Turn of creating PDF invoice and see if You get emails.

If You then get emails, then PDF creation is flawed.

Then You have to take it from there.

Do You have any other extension that installs TCPDF ?

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 13:50:04 PM
I've no VM extensions installed. I can't find any 'Create PDF invoice' checkbox...
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 14:41:40 PM
Joomla extensions

Look under VM back en configuration EMAILS

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 14:48:56 PM
You mean Configuration -> Orders? (don't have an emails tab)
In that tab there's very little you can set (only when an email should be sent, and that's all default...)
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 15:10:16 PM
JOOMLA->BACK_END->VIRTUMART->CONFIGURATION->CONFIGURATION->EMAILS

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 15:19:08 PM
As I said: there is no emails tab in Configuration -> Configuration. Only:

- Shop
- Orders
- Shopfront
- Template
- Pricing
- Checkout
- Product Order Settings
- Feeds
- SEO

Under 'Orders' there are some email settings.
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 16:17:02 PM
Ok, i am lagging behind in versions. Under ORDERS->INVOICE SETTINGS.
Empty this option and see what happens

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 16:22:38 PM
That field holds 'CONFIRMED'.
If I delete that entry and press 'Save', it's automatically set back to 'CONFIRMED'... (cannot make field empty)
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 19:21:05 PM
choose something up the chain, shipped for example.
And make sure confirmed sends an email.
Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 20:56:34 PM
I can see now what's going wrong...
If shopper presses 'Confirm' in shopping cart, the order doesn't get in 'confirmed' state, but in 'pending'...
This should automatically go to 'confirmed' state?
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: Jörgen on October 10, 2019, 21:00:23 PM
What payment method ?

Jörgen
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 21:04:55 PM
VM Payment - Standard
In the Standard module is 'Order statusis for pending transactions' set to 'Confirmed by shopper'
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: arcojml on October 10, 2019, 21:31:51 PM
I tried another setting, 'Confirmed' instead of 'Confirmed by shopper', and that works!
(it seems that the 'Confirmed by shopper' setting is ignored by the VM payment - standard module...  >:( )
Title: Re: Virtuemart not sending shopping confirmation/email
Post by: jjk on October 10, 2019, 22:55:59 PM
Here it works also with 'Order Status for Pending transactions' set to 'Confirmed by shopper' in the Standard Payment settings. Did you include the 'Confirmed by shopper' status in the 'Default Order Status to send email to shopper' and 'Default Order Status to send email to vendor' selection box under the 'Configuration' > 'Orders' tab?