mageplaza / module-gdpr

mageplaza/module-gdpr

Magento 2 GDPR Extensions

magento2-module Compatibility: 2.4.7 Code Quality: Fail Tests: N/A Security: Pass proprietary

Are you the maintainer of mageplaza?

Packagento pulls mageplaza's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

The Most Popular Magento 2 GDPR FREE (EU)

What is GDPR? - Help Your Magento 2 Store Protect Customers

GDPR stands for General Data Protection Regulation issued by EU, starting on May 25, 2018. This is a new set of data privacy regulations giving an important impact not only on European countries but also on all over the world.

There are many important rules that firms have to obey from June 2018, these rules help protect customers’ data from being stolen and misused (the data can be traded without permission or customers can be overwhelmed by complicated or incomprehensible terms). We recommend that you should go through all terms and conditions here; this is especially important if you are expertised in IT or if you are a Magento 2 store owner.

To help Magento 2 stores which are directly affected by GDPR, Mageplaza is about to release an extension called Mageplaza GDPR for Magento 2. This module is to supports online stores to comply those data privacy regulations.

Latest Stable Version
Total Downloads

IMPORTANT NOTE: This version of Magento 2 GDPR extension on Github is free as a contribution to the Magento community from Mageplaza. This package does not include the technical support. Should you need technical support for this extension, you will have to buy a license from Mageplaza. Click here to buy.

Highlight Features

  • Remove customers’ accounts
  • Delete customer’s addresses
  • Manage billing documents (Pro): Order, Invoice, Shipment, Credit Memo
  • GDPR Cookie restriction (Pro)
  • Auto-delete customer account(Pro)

How to install Magento 2 GDPR

✓ Install via composer (recommend)

Run the following command in Magento 2 root folder:

composer require mageplaza/module-gdpr
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

✓ Install ready-to-paste package (not recommend)

GDPR Module Documentations

Magento 2 GDPR Standard Edition - Highlights

Delete accounts

magento 2 gdpr

Magento 2 GDPR by Mageplaza supports customers in permanently deleting their accounts on your e-website. All related information including one which is considered private data will be completely removed along with customers’ accounts. This helps the buyers make sure that their personal information is protected by GDPR.

Delete default addresses

delete default addresses for gdpr

Default addresses including Billing and Shipping addresses are seen as private data of a human being according to GDPR. Hence, allowing buyers to delete these information is an action which proves that you are making a strong commitment to protect your users. With Magento 2 GDPR, this is easily performed by your customers with only few easy and clear steps.

Magento 2 GDPR Pro Edition - An Innovative Version

Manage billing information (Pro)

Billing information including data featured in customers’ orders, invoices, credit memos and shipments is seriously important which needs protecting. Your online shoppers, for sure, have rights to manage it themselves, and also, have rights to become anonymous. To support online stores in solving this issue, Mageplaza GDPF Pro version allows customers to anonymize their private information such as names, phone number or addresses by replacing these data by a random string.

Also, customers’ private information on subscribing requests and abandoned carts will become anonymous.

Cookie restriction (Pro)

Online stores often use cookies to enhance customer experience. However, through this, a customer can be identified and this is why you need to concern about this. Mageplaza GDPR extension allow store admins to design the Cookie message by using HTML; also, the position to feature the message can be configured to be at the top or bottom of your webpage. Cookie can be restricted in specific countries based on your settings in the backend also.

Why do we need the GDPR?

It is obviously easy to understand, the regulation has been adopted as data protection and privacy issues are increasingly becoming a serious concern. In recent decades, the internet growth has continued increasing so does the frequency and effect of data breaches. According to the Breach Level Index, by the first half of 2017, the number of data breaches had risen from above 575 million in 2013 to more than 1,9 billion over the 2-year period. Shockingly, over 95% of these breaches including unencrypted data were not protected properly. The point here is that the total global annual cost of all data breaches, according to a Juniper’s research, is forecasted to reach above $2.1 trillion in damages by 2019. You can imagine how severely consumers and organizations can be affected.

That is why GDPR needs to appear as soon as possible with an aim to eliminate and reduce possible harms and threats for both businesses and online shopping doers. The regulations play a role as data security standards which organizations have to follow.

Why Mageplaza GDPR is your must-have module

Your Magento 2 store, no matter where you are based, is not out of GDPR effects. As long as you are processing and storing data about European citizens, your business will be under the control of GDPR. In the Art. 3 GDPR, chapter 1, we can find:

gdpr for magento 2

So, it’s high time to concern about your Magento 2 store and prepare for it now no matter where you are located before your organization is in compliance on May 25th, 2018.

Peoples also search:

  • gdpr magento 2
  • magento 2 gdpr extension
  • magento 2 gdpr extension free
  • gdpr magento 2 extension
  • magento 2 gdpr module
  • magento 2 rgpd
  • magento 2 gdpr compliance
  • gdpr compliance for magento 2
  • magento 2 gdpr cookies extension
  • magento 2 privacy policy

Other free extension on Github

Our module on Marketplace:

Table of contents

Versions
Version Stability QA Status Compatibility Released
4.2.8 stable Fail Magento 2.4.7 Details 2026-04-28 03:38:43
4.2.7 stable Not tested Not yet tested Details 2026-01-08 02:28:53
4.2.6 stable Not tested Not yet tested Details 2025-09-29 07:07:30
4.2.5 stable Not tested Not yet tested Details 2025-04-21 07:28:35
4.2.4 stable Not tested Not yet tested Details 2023-06-22 07:20:18
4.2.3 stable Not tested Not yet tested Details 2023-04-05 07:33:49
4.2.2 stable Not tested Not yet tested Details 2023-02-28 07:59:41
4.2.1 stable Not tested Not yet tested Details 2022-08-30 08:44:15
4.2.0 stable Not tested Not yet tested Details 2022-04-12 06:55:39
1.4.0 stable Not tested Not yet tested Details 2022-04-12 06:55:16
1.3.0 stable Not tested Not yet tested Details 2021-10-27 10:01:09
4.1.0 stable Not tested Not yet tested Details 2021-10-27 10:00:34
4.0.0 stable Not tested Not yet tested Details 2020-11-10 08:17:07
1.2.4 stable Not tested Not yet tested Details 2020-06-22 03:46:29
1.2.3 stable Not tested Not yet tested Details 2019-08-26 08:41:03
1.2.2 stable Not tested Not yet tested Details 2019-06-11 04:26:54
1.2.1 stable Not tested Not yet tested Details 2019-01-22 04:30:20
1.2.0 stable Not tested Not yet tested Details 2018-06-14 07:14:21
1.1.0 stable Not tested Not yet tested Details 2018-05-28 01:30:45
1.0.0 stable Not tested Not yet tested Details 2018-05-17 03:19:13

Requires 1

Package Constraint
mageplaza/module-core ^1.5.14

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass not tested
2.4.9 Pass not tested

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 63 63 warnings (ruleset: Magento2) — 34 auto-fixable with phpcbf
PHPMD Pass 0
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 58 58
2.4.8 58 58
2.4.9 56 56

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
proprietary
Authors

More from mageplaza

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.