LokiCheckout_Revolut
This Magento 2 module is an add-on package to the LokiCheckout. It makes the payment methods of the Revolut module
revolut/module-payment (Revolut_Payment) work in the Loki Checkout:
revolut_card: the Revolut card field (including 3D Secure) is shown below the payment method and the card is charged when the customer places the order. The optional cardholder name field (payment/revolut_card/cardholder_name_field) is supported. When a card is declined, the card field is reloaded with a new Revolut order, so the customer can retry.revolut_pay: the Revolut Pay button is shown below the payment method. The button only starts a payment when all checkout fields are valid. After a successful payment, the order is placed automatically. On mobile devices, Revolut redirects to its own controllerrevolut/process/payment, which places the order. When that fails, the checkout shows a generic error message.revolut_payment_request: the Apple Pay / Google Pay button is shown below the payment method (only in live mode, after the webhook has been set up, and whenpayment/revolut_payment_request/locationsincludescheckout). After a successful payment, the order is placed automatically.- Fast checkout: Revolut Pay and Apple Pay / Google Pay buttons are added to the Loki fast checkout block
("Pay faster with") when
payment/revolut_pay/locationsorpayment/revolut_payment_request/locationsincludecart. These buttons use the Revolut fast checkout flow, in which the customer picks the address and shipping method in the Revolut or wallet popup, and Revolut places the order. - Banners: the Revolut Points banner and the Revolut Pay informational icon (
payment/revolut_payment/promotional_banners_settings), the card gateway banner below the card field, and the reward banner on the success page (rewritten to work without RequireJS, so that it works with Hyvä as well). Note that this replaces the template of Revolut's success page block on all storefronts where this module is enabled.
Before placing the order, the Revolut order is fetched from the Revolut API: the order is only placed when the payment is authorised (or completed) and when its amount and currency match the cart.
Revolut_Payment places Revolut Pay orders from its webhook as well. To prevent duplicate orders, the Loki Checkout uses the
same lock as Revolut (the table revolut_webhook_request). When the webhook has already placed the order, the customer
is redirected to the success page instead.
Debugging information is logged to var/log/revolut/debug.log (the Revolut logger).
Installation
Install this package via composer:
composer require loki-checkout/magento2-revolut
Next, enable this module:
bin/magento module:enable LokiCheckout_Revolut
Requirements
The package revolut/module-payment is not available on Packagist. Revolut only publishes it as ZIP files on
GitHub. You can add it as a composer package repository
(see .gitlab-ci/composer-additional.sh) before installing this module.
Configuration
Configure Revolut under Stores > Configuration > Sales > Payment Methods > Revolut:
payment/revolut_card/api_mode:1for the sandbox,0for live. There is no default, and an empty value means live mode.payment/revolut_card/api_key_sandboxorpayment/revolut_card/api_key_live: the secret API key (encrypted). The public key is fetched from the Revolut API with this secret key.payment/revolut_card/activeandpayment/revolut_pay/active. Revolut Pay is only available in the checkout whenpayment/revolut_pay/locationsincludescheckout.- In live mode, Revolut only shows its payment methods after the webhook has been set up via the button in the configuration.
Revolut supports a limited list of currencies (EUR, GBP, USD and others).
Limitations
- Apple Pay / Google Pay (
revolut_payment_request), both in the checkout and in the fast checkout, only work in live mode (with an eligible device and wallet). They are therefore not covered by automated tests and are verified manually. - This module only adds Revolut buttons to the Loki Checkout (the payment step and the fast checkout block). Revolut Pay and Apple Pay / Google Pay buttons on the product page or in the minicart are not provided by this module; for Hyvä, these come from Revolut's own module revolut-engineering/magento2-hyva-compatibility.
Links
Current status
Support
For getting support, create an Issue under the following project URL:
https://gitlab.loki-extensions.com/loki-checkout/LokiCheckout_Revolut.git
Loki Components
The following LokiComponents are created or references in this module:
loki-checkout.fast_checkout.revolut
loki-checkout.payment.methods.revolut_card.form
loki-checkout.payment.methods.revolut_pay.form
loki-checkout.payment.methods.revolut_payment_request.form
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Magento_AdminNotification
Magento_Backend
Magento_Catalog
Magento_CatalogInventory
Magento_Checkout
Magento_CheckoutAgreements
Magento_Cms
Magento_Config
Magento_Csp
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Indexer
Magento_MediaGalleryUiApi
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Rule
Magento_Sales
Magento_SalesRule
Magento_SalesSequence
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Theme
Magento_Ui
Magento_User
Magento_Variable
Magento_Vault
Magento_Widget
Revolut_Payment
Yireo_CspUtilities
Composer details
LokiCheckout_Revolutloki-checkout/magento2-revolut
ext-pcre: *
loki-checkout/magento2-core: ^2.7
loki/magento2-components: ^2.10
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-checkout: ^100.4
magento/module-quote: ^101.2
magento/module-sales: ^103.0
magento/module-store: ^101.1
php: >=8.2 <8.6
psr/log: ^1.0 || ^2.0 || ^3.0
revolut/module-payment: ^2.1
yireo/magento2-csp-utilities: ^1.0
Releases
| 1.0.1 | 22 November 2026 |
| 1.0.0 | 22 November 2026 |
Changelog
[1.0.1] - 16 November 2026
Fixed
- Support the payment request button style of both
Revolut_Payment2.1.10 and 2.1.11+ - Register the final step task globally besides the frontend
[1.0.0] - 13 November 2026
Initial release
- Render the Revolut reward banner on the success page without RequireJS
- Add Apple Pay / Google Pay and Revolut fast checkout buttons
- Support cardholder name, card retry and Revolut banners
- Support Revolut card and Revolut Pay payments in the Loki Checkout
- Cover fast checkout, public key caching, cardholder name and order creation errors