Magento 2 bot attack on admin panel – brute force and protection
Server overloaded, nginx logs full of requests to /admin. Bots tried to log into the admin panel for 72 hours – 50,000 attempts. One admin account had a weak password. Response time: 30 minutes, hardening: 2 hours.
- Published in Magento / Adobe Commerce
Custom Payment Method in Magento 2 – authorize, capture, refund, webhook
A custom payment method in Magento 2 is one of the more complex modules to write from scratch. It requires implementing the MethodInterface, configuration in system.xml, JS templates for checkout, and handling return webhooks from the gateway. I show the complete module structure integrating a fictional payment gateway – from authorisation through capture to refund handling.
- Published in Magento / Adobe Commerce
What does a Magento 2 implementation look like: from first contact to launch
Business owners implementing a Magento 2 store for the first time often do not know what to expect or what to prepare for. Below I describe the typical course of a project from the first conversation to launch – without embellishments.
- Published in E-commerce
Magento 2 reindexing takes hours – MySQL deadlock and missing indexes
A shop with 50,000 products – full reindex took 6 hours and often ended with a deadlock error. Product prices and availability were updating with a delay. Fix time: 1 day.
- Published in Magento / Adobe Commerce
