M

Suivez nous

Create a custom payment method on Magento 2

Create a custom payment method on Magento 2

Payment methods play a central role in any e-commerce project. Today, many solutions already exist on the market, such as HiPay or Lyra, and cover the majority of standard needs. However, some projects require more specific behaviors: on-site payment deferred payment...
Magento 2: Mastering Type and VirtualType in di.xml

Magento 2: Mastering Type and VirtualType in di.xml

One of the key pillars of Magento 2 is its Dependency Injection (DI) system.Thanks to it, the platform remains flexible and scalable. However, this system relies on a set of sometimes mysterious files — the famous di.xml files. These files contain the configuration...
Integrating reCAPTCHA into a custom form in Magento 2

Integrating reCAPTCHA into a custom form in Magento 2

For several years now, CAPTCHAs have become common on forms found across websites. The system has evolved significantly over time, up to the current version 3. Whereas in the past it was necessary to solve a visual test, reCAPTCHA V3 now works invisibly by analyzing...
Magento 2: Mastering Type and VirtualType in di.xml

Repository or Collection in Magento 2: when should you use them?

When handling entities in Magento 2, there are two main approaches available: using a Repository or interacting with a Collection. These two methods have very distinct uses. It is therefore essential to understand their respective objectives in order to avoid bad...