- Issue created by @orkut murat yılmaz
- Status changed to Postponed: needs info
11 months ago 7:36am 30 January 2024 - 🇹🇷Turkey Kartagis Istanbul
What feature of encrypt might iyzipay need?
- Status changed to Active
11 months ago 1:51pm 31 January 2024 - 🇹🇷Turkey orkut murat yılmaz Istanbul
When we install iyzipay, it installs Encryption module → , because it's a dependency. After the installation, it starts a conflict between Encrypt → and Encryption modules.
Encrypt module is being used by the variety of modules, especially in Drupal 10. TFA 2.0.x → module uses it as a dependency.
I've examined the code of the iyzipay module and I've noticed that the module uses Encryption as service:
On the 182nd line of src/Plugin/Commerce/PaymentGateway/IyzipayOnsite.php, it is defined as a variable:
$encryption_service = \Drupal::service('encryption');
Also, on the 26th line of src/Plugin/Commerce/PaymentMethodType/FullCreditCard.php too.
The modules use Encrypt (instead of Encryption) calls the Encrypt via api like:
use Drupal\encrypt\EncryptionProfileInterface; use Drupal\encrypt\EncryptServiceInterface; use Drupal\encrypt\Entity\EncryptionProfile;
Adding Encrypt functionality will be so nice for more advanced security options to iyzico module.
-
kartagis →
committed 4451d466 on 2.x
Issue #3417612: Support for Encrypt module
-
kartagis →
committed 4451d466 on 2.x
-
kartagis →
committed 14003de7 on 2.x
Issue #3417612: Support for Encrypt module
-
kartagis →
committed 14003de7 on 2.x
Automatically closed - issue fixed for 2 weeks with no activity.