Open Source

Shaping the tools I use every day, one pull request at a time

A hand-picked selection: only the contributions worth reading about, not every merged pull request. Articles about Magento and Adobe Commerce are on the blog.

1,662 +
Merged pull requests
71
Projects contributed to
397 +
Pull requests reviewed
10
Years contributing
fix elgentos/magento2-consentmode-v2  #16 merged

Keep the core cookie notice when the module is disabled  — on GitHub

The layout removed the core cookie_notices block unconditionally, while the module’s own banner only renders when the module is enabled in configuration. A store with the module installed but disabled, which is the default, showed no cookie notice at all. The layout removal is gone, and a plugin on Magento\Cookie\Block\Html\Notices::toHtml suppresses the core notice only while the module is enabled.

fix elgentos/frontend2fa  #25 merged

Add form key to the Hyva authenticate and setup forms  — on GitHub

The Hyvä templates hyva/authenticate.phtml and hyva/setup.phtml rendered their POST forms without a form_key field, so the core CSRF validator rejected every submit with “Invalid Form Key” and redirected back. Both forms now include the form key, as the Luma forms already did.

fix elgentos/magento2-rumvision  #25 merged

Apply excluded bot patterns at 100% sampling rate  — on GitHub

sampling.phtml returned early at the default sampling rate of 100, before the bot check was built, so “Excluded Bot Patterns” had no effect until an admin lowered the rate. The bot check is now always built and the sampling lottery is emitted only when the rate is below 100.

fix PayU-EMEA/plugin_magento_24  #108 merged

Inject the customer session and URL builder into the repay resolver  — on GitHub

RepayOrderResolverAbstract::execute() used $this->customerSession and $this->urlBuilder, but the class only injected the command pool. A repay that PayU answered with SUCCESS and no redirect, or with WARNING_CONTINUE_CVV, ended in “Can’t repay order.” after the PayU order was already created. Both dependencies are now injected in the abstract constructor and autowired for the four concrete resolvers, with no di.xml change.

fix PayU-EMEA/plugin_magento_24  #111 merged

Define the request body before the try block in PayUAbstractClient  — on GitHub

When setDefaultConfig() threw, the catch block in placeRequest() read a $body that was never assigned. Magento turned the warning into an exception, the shopper got a generic server error, nothing reached payugateway.log, and the real cause (for example Empty PayU Configuration) was lost. The body is now read before the try, so configuration errors are logged with their message again.

fix PayU-EMEA/plugin_magento_24  #112 merged

Show the quote grand total on the Google Pay and Apple Pay sheets  — on GitHub

The Google Pay and Apple Pay sheets took the amount from base_grand_total but the currency from quote_currency_code. On a store with base currency PLN and checkout currency EUR, the sheet showed the PLN amount labelled as EUR, which was not the amount sent to PayU. Both sheets now read grand_total, matching the order request; single-currency stores see no change.

fix PayU-EMEA/plugin_magento_24  #118 merged

Use HTTPS for the PayU terms link  — on GitHub

The terms of service link on the payment step and the repay page pointed to an http:// URL from an HTTPS checkout. The constant now uses https://, which static.payu.com already serves.

fix sansecio/magento2-module-shield  #43 merged

Set a timeout on the Shield rules fetch  — on GitHub

Magento\Framework\HTTP\Client\Curl sets no default timeout, so a stalled connection to the rules endpoint blocked fetchRules() indefinitely. That call runs from a cron job in a separate process, and Magento’s schedule lifetime only prunes stale rows after the fact — it never kills the hung worker.

Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .