Download the PHP package mahocommerce/module-revolut without Composer

On this page you can find all versions of the php package mahocommerce/module-revolut. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-revolut

Maho Revolut

Maho Commerce License PHP PHPStan Level

Revolut payment gateway for Maho Commerce. The v1 ships Revolut Pay as a redirect checkout: the customer is sent to Revolut's hosted payment page, and the order is captured back in Maho via webhook.

Requirements

Installation

Configuration

1. Get the Merchant API key

In your Revolut Business dashboard — production at https://business.revolut.com, sandbox at https://sandbox-business.revolut.com — go to:

Merchant → APIs → Merchant API tab → API Keys → Sandbox API Secret key (or Production API Secret key when going live).

Click the eye icon and copy the full sk_... secret.

[!IMPORTANT] Make sure you are on the Merchant API tab, not Business API. The Business API needs OAuth + JWT + certificates; this module does not use it. The Public key (pk_...) shown on the same screen is unused by v1 (redirect checkout, no JS widget) — ignore it.

2. Configure Maho and register the webhook

In Maho admin → System → Configuration → Sales → Payment Methods → Revolut — General Settings:

  1. Sandbox Mode — on while testing, off in production
  2. Merchant API Key — the sk_... from step 1
  3. Click Save Config
  4. Click Register Webhook

The module calls POST /api/1.0/webhooks on your behalf, registers https://<your-store>/revolut/webhook for the relevant order events, and stores the returned signing secret and webhook ID in the form. The signing secret is returned only once by Revolut, so the button is the easiest way to get it.

[!NOTE] The Revolut Merchant dashboard does not have a Webhooks UI — webhook management is API-only. If you'd rather do it by hand, run:

Swap the host to https://merchant.revolut.com for production. Then paste the signing_secret from the response into the Webhook Signing Secret field.

To list / rotate / delete webhooks later:

3. Enable Revolut Pay

Under Revolut — Revolut Pay:

Development

This module ships with the standard Maho CI gates:

Run composer install and you can execute any of the above locally before pushing.


All versions of module-revolut with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mahocommerce/module-revolut contains the following files

Loading the files please wait ...