Email confirmation after payment
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Email confirmation after payment
Hi!
The Aimeos shop is working well, but I have not been able to get the email confirmation working after payment and delivery. I have added the email settings below client in shop.php (in the config dir) as per below, but no emails are sent.
Added in shop.php:
I have read the documentation, and guess it might have to do with controllers or decorators, but I do not understand exactly the steps to follow to configure this. To me the email confirmation is quite a standard functionality. I would really appreciate it if you could specify the steps to follow.
Have a great day!
The Aimeos shop is working well, but I have not been able to get the email confirmation working after payment and delivery. I have added the email settings below client in shop.php (in the config dir) as per below, but no emails are sent.
Added in shop.php:
Code: Select all
'client' => array(
'html' => array(
'common' => array(
'content' => array(
'baseurl' => '***',
),
'template' => array(
'baseurl' => public_path('packages/aimeos/shop/elegance'),
),
),
'email' => array(
'from-email' => '***@***',
'from-name' => '***',
),
),
),
Have a great day!
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1
Re: Email confirmation after payment
Do you execute the order/email/payment job regularly via a cronjob?
https://aimeos.org/docs/Laravel/Configu ... jobs#Setup
https://aimeos.org/docs/Laravel/Configu ... ery_minute
https://aimeos.org/docs/Laravel/Configu ... jobs#Setup
https://aimeos.org/docs/Laravel/Configu ... ery_minute
Code: Select all
php artisan aimeos:jobs order/email/payment
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Email confirmation after payment
Thanks, ok yes that could be a way to handle it, but can the order itself not trigger the email. I would prefer not to run cron jobs every minute on the server.
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1
Re: Email confirmation after payment
You can run it every five, fifteen or sixty minutes if you like but Aimeos offloads sending e-mails to another process. We did it after the order has been placed years ago but that resulted too often in no e-mails being sent or e-mails sent twice due to payment updates. Thus the requirement for a cronjob like in every other modern e-commerce system.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Email confirmation after payment
OK, will go for the cron job and align to the new best practices
Cheers!
Cheers!
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1