PHPackages                             pronko/magento-2-payment-messages - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. pronko/magento-2-payment-messages

ActiveMagento2-module[Payment Processing](/categories/payments)

pronko/magento-2-payment-messages
=================================

Payment Messages module for Magento 2.x

1.0.0(8y ago)6245[1 issues](https://github.com/mcspronko/magento-2-payment-messages/issues)MITPHP

Since Sep 10Pushed 7y ago4 watchersCompare

[ Source](https://github.com/mcspronko/magento-2-payment-messages)[ Packagist](https://packagist.org/packages/pronko/magento-2-payment-messages)[ RSS](/packages/pronko-magento-2-payment-messages/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Payment Messages for Magento 2.x
================================

[](#payment-messages-for-magento-2x)

[![Codacy Badge](https://camo.githubusercontent.com/2adb55ab4cb4e6fe61b77cba9122434114f6e2fd8258b6a9e6d6650f69e5bac1/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3439336334353765633065623432386561376164383333386236343234363465)](https://app.codacy.com/app/max.pronko/magento-2-payment-messages?utm_source=github.com&utm_medium=referral&utm_content=mcspronko/magento-2-payment-messages&utm_campaign=Badge_Grade_Dashboard)

This module allows to pass error messages from Payment Service Providers to a Checkout Payments page.

Implementation
--------------

[](#implementation)

The Pronko\_PaymentMessages module consists of 2 plugins for Magento\_Checkout module. The `Pronko\PaymentMessages\Plugin\GuestPaymentInformationManagement` class intercepts the `Magento\Checkout\Model\GuestPaymentInformationManagement::savePaymentInformationAndPlaceOrder` method. The `Pronko\PaymentMessages\Plugin\PaymentInformationManagement` class intercepts the `Magento\Checkout\Model\PaymentInformationManagement::savePaymentInformationAndPlaceOrder` method.

Both plugins pass the `Magento\Framework\Exception\LocalizedException` exceptions assuming it as messages which are allowed to be shown for a customer.

Note: There are payment integrations which throw exceptions which should not be shown to a customer. It is recommended to check payment integration on staging environment to avoid any security information leak via error messages.

Specific Payment Methods
------------------------

[](#specific-payment-methods)

You may also limit messages to specific payment modules.

Add the following declaration into the di.xml file of your payment module:

```

                payment_code_example

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3166d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3740515?v=4)[Max Pronko](/maintainers/mcspronko)[@mcspronko](https://github.com/mcspronko)

---

Top Contributors

[![mcspronko](https://avatars.githubusercontent.com/u/3740515?v=4)](https://github.com/mcspronko "mcspronko (2 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")[![WaPoNe](https://avatars.githubusercontent.com/u/11091926?v=4)](https://github.com/WaPoNe "WaPoNe (1 commits)")

---

Tags

magento2magento2-module

### Embed Badge

![Health badge](/badges/pronko-magento-2-payment-messages/health.svg)

```
[![Health](https://phpackages.com/badges/pronko-magento-2-payment-messages/health.svg)](https://phpackages.com/packages/pronko-magento-2-payment-messages)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

109501.7k1](/packages/amzn-amazon-pay-magento-2-module)[buckaroo/magento2

Buckaroo Magento 2 extension

32404.0k6](/packages/buckaroo-magento2)[vipps/module-payment

Vipps MobilePay Payment Module for Magento 2

1195.4k](/packages/vipps-module-payment)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)[bluefinchcommerce/module-checkout

101.5k4](/packages/bluefinchcommerce-module-checkout)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
