Post by samm91 » Wed Apr 16, 2025 2:03 am

I can't find any information, so my question is: Is it correct that the admin doesn't receive a notification about a GDPR request?
If not, where can I configure this?
Currently, no notifications about the request are being received. All other notifications are working.

OC 4.1.0.0
Last edited by samm91 on Thu Apr 17, 2025 10:36 pm, edited 1 time in total.

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by paulfeakins » Wed Apr 16, 2025 6:54 pm

samm91 wrote:
Wed Apr 16, 2025 2:03 am
OC 4.1.0.0
Why are you using this version?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by samm91 » Wed Apr 16, 2025 6:59 pm

Because I thought the higher the version number, the better. ;)
That can't be changed now.
But can you also answer my question?

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by JNeuhoff » Wed Apr 16, 2025 7:42 pm

You should at least wait till the upcoming OC 4.1.0.4, OC 4.1.x.x is still subject to development and bugfixes. For testing purposes, try it again with the OC 4.1.0.3. For a live website, we recommend the stable OC 3.0.4.0.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by samm91 » Wed Apr 16, 2025 8:01 pm

Everything's fine... but the shop is running, extensions have been purchased, and I don't think a downgrade is possible.

My question, though, was whether it's normal that no GDPR notifications are sent to the admin.

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by by mona » Wed Apr 16, 2025 8:17 pm

and the answer is - there are many bugs in OC4, so many that it is not recommended for live sites.
Is it supposed to work - yes of course - does it ? Well it will be another one of those things people will check when they can and in the meantime
https://www.opencart.com/index.php?rout ... n_id=37070

That will probably be the quickest and cheapest way of resolving your issue.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by by mona » Wed Apr 16, 2025 9:17 pm

*** UPDATE ***

Fresh Install OC4.1.0.0
php8.0 - php 8.4
GDPR Deletion Request => sends => Account Deletion Request Confirmation to customer email
Click confirm Deletion => sends => Process back to admin
GDPR export request => sends => GDPR export request completed to customer email !
CRON => Deletes => sends deletion confirmation to customer email

All working correctly.

No admin email is sent - presumably because the data deletion is automatic but requires admin approval.
The export request as I understand is 28 days to comply and will only be done after admin has approved.
Maybe it should be in the notification bell at the top?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by samm91 » Wed Apr 16, 2025 10:07 pm

Thank you.
Then the missing notification to the admin is "normal" and is not due to my installation.

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by by mona » Wed Apr 16, 2025 10:32 pm

Thank you - you are welcome.
It is "normal"

As a quick solution - and I am sure someone knows why setBcc isnt working - this does :

after (approx line 194)

Code: Select all

		$mail->send();
add

Code: Select all

 
	$mail->setTo($this->config->get('config_email'));
	$mail->setFrom($this->config->get('config_email'));
	$mail->setSender($store_name);
	$mail->setSubject('ADMIN NOTIFICATION : GDPR');
	$mail->setHtml($this->load->view('mail/gdpr_delete', $data));
	$mail->send();
after (approx line 81)

Code: Select all

		$mail->send();
add

Code: Select all

 
	$mail->setTo($this->config->get('config_email'));
	$mail->setFrom($this->config->get('config_email'));
	$mail->setSender($store_name);
	$mail->setSubject('ADMIN NOTIFICATION : GDPR');
	$mail->setHtml($this->load->view('mail/gdpr', $data));
	$mail->send();
First code is second due to line numbering

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by samm91 » Thu Apr 17, 2025 1:02 am

Sorry, I have no idea which file you mean. ???

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by by mona » Thu Apr 17, 2025 2:34 am

catalog/controller/mail/gdpr.php

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by samm91 » Thu Apr 17, 2025 4:52 am

Will try it

In any case, thank you very much for your effort.

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by paulfeakins » Thu Apr 17, 2025 6:52 pm

Emails not getting through is such a common problem these days, you might need to hire a developer to resolve it.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by khnaz35 » Thu Apr 17, 2025 7:07 pm

paulfeakins wrote:
Thu Apr 17, 2025 6:52 pm
Emails not getting through is such a common problem these days,
1-Use Transactional Email Services (not shared hosting mail) SMTP from hosting is often blocked or flagged as spam.
2- Set Up Proper DNS Records (SPF, DKIM, DMARC) Without these, even legit emails may land in spam.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by samm91 » Thu Apr 17, 2025 7:51 pm

by mona wrote:
Thu Apr 17, 2025 2:34 am
catalog/controller/mail/gdpr.php
I tried it and it works.
But you're right. The best solution would be a notification on the dashboard. Maybe that will come someday.

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm

Post by by mona » Thu Apr 17, 2025 8:36 pm

Thank you for coming back and letting me know it works.
If you could edit the title to include [SOLVED] that would be great.
I will send you a private message if I continue with this and add something to the dashboard.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by samm91 » Thu Apr 17, 2025 10:37 pm

Done and thank you! :D

Newbie

Posts

Joined
Tue Mar 18, 2025 9:49 pm
Who is online

Users browsing this forum: No registered users and 2 guests