PHPackages                             imaginationmedia/magento2-payment-request - 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. imaginationmedia/magento2-payment-request

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

imaginationmedia/magento2-payment-request
=========================================

W3C Web Payments for Magento 2

1.0.1(5y ago)12133[3 issues](https://github.com/Imagination-Media/magento2-payment-request/issues)OSL-3.0PHPPHP &gt;=7.2

Since Oct 25Pushed 5y ago7 watchersCompare

[ Source](https://github.com/Imagination-Media/magento2-payment-request)[ Packagist](https://packagist.org/packages/imaginationmedia/magento2-payment-request)[ RSS](/packages/imaginationmedia-magento2-payment-request/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

Payment Request API for Magento 2
=================================

[](#payment-request-api-for-magento-2)

About
-----

[](#about)

This Magento Extension will allow you to use the [W3C's payment request api](https://www.w3.org/TR/payment-request/) for checkout in Magento 2.

The Payment Request Api uses the in-browser stored data to provid all the required information to complete an order, it will get the available addresses, contact info and payment methods that are saved in your browser.

The Payment Request API is meant to reduce the number of steps needed to complete a payment online, potentially doing away with checkout forms. This can help to improve Conversion as well as Revenue Per Visitor particularly on mobile.

[![enter image description here](https://camo.githubusercontent.com/314518999d162bcc943e662a110062a3f0ddf3f0952167dbdcd1a647bf32ed2a/68747470733a2f2f646576656c6f706572732e676f6f676c652e636f6d2f7765622f66756e64616d656e74616c732f7061796d656e74732f696d616765732f646565702d646976652f70722d746f702e706e67)](https://camo.githubusercontent.com/314518999d162bcc943e662a110062a3f0ddf3f0952167dbdcd1a647bf32ed2a/68747470733a2f2f646576656c6f706572732e676f6f676c652e636f6d2f7765622f66756e64616d656e74616c732f7061796d656e74732f696d616765732f646565702d646976652f70722d746f702e706e67)

Installation
------------

[](#installation)

You can install this package using composer:

```
composer require imaginationmedia/magento2-payment-request

```

Configuration
-------------

[](#configuration)

This extension adds a section inside the Sales &gt; Payment Methods on Magento admin for configuration.

You can enable the Payment Request Api using one of the available modes. The first mode will replace all the checkout buttons, opening the Payment Request popup instead of redirecting to the Magento checkout page (when the browser supports the payment request api). The second mode is just a button that is added to the cart page, allowing the customer to checkout through the payment request api.

[![enter image description here](https://camo.githubusercontent.com/17fbababc357a82b653fd201eee542378000554316a99e41f3f39cfc60e5cda5/68747470733a2f2f692e6962622e636f2f537770626d32332f312e706e67)](https://camo.githubusercontent.com/17fbababc357a82b653fd201eee542378000554316a99e41f3f39cfc60e5cda5/68747470733a2f2f692e6962622e636f2f537770626d32332f312e706e67)

The available payment methods at the moment are PayPal Express and Debit/Credit card.

PayPal Express is not ready for production use, the integration is still under development, but at this point we can see the option as one of the available payment methods. In the near future it will be available for production use.

The Debit/Credit card option can be integrated with any payment provider, at this point we have Braintree ready to be used. In the Payment Request Api config there is an option where we choose the Magento payment method that will be used to process the debit/credit cart payments.

[![enter image description here](https://camo.githubusercontent.com/3a4db8a37dabbd791d98b86bb80bd6c17b4013ae35d83a1ce5fcac25cb9b6f8f/68747470733a2f2f692e6962622e636f2f7237346a57537a2f322e706e67)](https://camo.githubusercontent.com/3a4db8a37dabbd791d98b86bb80bd6c17b4013ae35d83a1ce5fcac25cb9b6f8f/68747470733a2f2f692e6962622e636f2f7237346a57537a2f322e706e67)

We also have options to setup the available card flags and the card types (debit, credit, or both).

Supported Browsers
------------------

[](#supported-browsers)

You can check a list with all the supported browsers [here.](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API#Browser_compatibility)

Enabling multiple payments
--------------------------

[](#enabling-multiple-payments)

If you enable multiple payment methods on payment request api, if one of those is credit/debit card it will show you only this option.

To see multiple payment methods you need to enable the Web Payments Experimental Features in your Google Chrome. To do that access this url in your browser chrome://flags/#enable-web-payments-experimental-features and enable that option. Restart your browser and you will be able to see all multiple payment methods.

You also need Chrome 79 or newest to be able to enable this option.

Demo
----

[](#demo)

We have a demo website where you can test the Payment Request Api module. The demo website is available at .

License
-------

[](#license)

This is a Magento Community Engineering project, lead by [Imagination Media](https://www.imaginationmedia.com/) in partnership with [PayPal](https://www.paypal.com/) and [Mobile Optimization Initiative](https://www.mobileoptimized.org/).

All code is under the OSL 3.0 license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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

Every ~243 days

Total

2

Last Release

2148d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0

1.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba4717066272b685269252b40d37f3dbe3114cf008e7af57fe71d6b0c77268c1?d=identicon)[igor-imaginemage](/maintainers/igor-imaginemage)

---

Top Contributors

[![igor-imaginemage](https://avatars.githubusercontent.com/u/25936073?v=4)](https://github.com/igor-imaginemage "igor-imaginemage (5 commits)")[![imgali](https://avatars.githubusercontent.com/u/21045213?v=4)](https://github.com/imgali "imgali (3 commits)")

### Embed Badge

![Health badge](/badges/imaginationmedia-magento2-payment-request/health.svg)

```
[![Health](https://phpackages.com/badges/imaginationmedia-magento2-payment-request/health.svg)](https://phpackages.com/packages/imaginationmedia-magento2-payment-request)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[paynl/magento2-plugin

Pay. Payment methods for Magento 2

30311.2k5](/packages/paynl-magento2-plugin)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

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