PaymentRequest lets you accept payment from different payment methods.
- version: 0.9.0
- extension key: Rafaelcg_WebPayment
The Payment Request API is a W3C standard candidate that is meant to eliminate checkout forms. It vastly improves user workflow during the purchase process, providing a more consistent user experience and enabling web merchants to easily leverage different payment methods.
The Payment Request API is designed to be vendor-agnostic, meaning it does not require use of a particular payment system. It's not a new payment method, nor does it integrate directly with payment processors; rather, it is a conduit from the user's payment and shipping information to merchants, with the following goals:
- Let the browser act as intermediary among merchants, users, and payment methods
- Standardize the payment communication flow as much as possible
- Seamlessly support different secure payment methods
- Work on any browser, device, or platform—mobile or otherwise
The Payment Request API is an open and cross-browser standard that replaces traditional checkout flows by allowing merchants to request and accept any payment in a single API call. The API allows the web page to exchange information with the user agent while the user is providing input, before approving or denying a payment request.
Best of all, with the browser acting as an intermediary, all the information necessary for a fast checkout can be stored in the browser, so users can just confirm and pay, all with a single click.
- Magento >= 2.1
- Copy the content of the
src
folder to your root folder. - Run these commands:
php -f bin/magento module:enable Rafaelcg_WebPayment
php -f bin/magento setup:upgrade
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
(c) 2019 Rafael Corrêa Gomes