Guides • Accept Payments
Configure the Adobe Commerce (Magento 2) plugin
doc

Configure the Adobe Commerce (Magento 2) plugin

When you've successfully installed the Revolut Gateway for Adobe Commerce (Magento 2) plugin, configure the plugin to enable you to perform operations.

warning

The plugin relies on webhooks, instead of polling the order status. If webhooks are not configured properly, the gateway is not available.

Available configurations

note

To save your settings, use the Save Config button.

You can find details of configuration options for this plugin below:

  1. Log in to your store's admin panel and navigate to Stores > Configuration > Sales > Payment Methods > Revolut.

  2. Click Configure to expand the API Settings, Revolut Pay, Credit / Debit Cards, Apple Pay / Google Pay and the Additional Settings section.

    Adobe Commerce (Magento 2) - Settings

  3. In the API Settings section, you have the fields:

    • Select Mode: Select Sandbox or Live for the payment gateway mode.

    • API Key (Sandbox mode): Enter the Sandbox API Secret key.

    • API Key (Live mode): Enter the Production API Secret key.

    • Payment Action: Select how to capture payments. Possible values:

      • Authorize and Capture: Charge the debit/credit card when the order is placed.
      • Authorize: Check the card for validity only but not charge the account until the order is approved. For more information, see: Capture an order from Adobe Commerce's admin panel
    • Webhook Settings: This parameter indicates if you configured your API settings correctly. If webhooks are not configured properly, the gateway is not available.

      When you see an error message, check your API key settings in the scope of the store indicated.

      Adobe Commerce (Magento 2) - API Settings

      See an example of a faulty configuration:

      Adobe Commerce (Magento 2) - API Settings error

    If you want to save your configuration at this point, click the Save Config button in the top right corner.

  4. In the Revolut Pay section, you have the fields:

    • Enable Revolut Pay: Select Yes to enable the Revolut Pay gateway. With this gateway you can accept payments via Revolut Pay.

    • Locations: Select where to display the Revolut Pay button. You can select multiple values by holding [CTRL]/[CMD]. Possible values: Checkout, Product, Cart.

      info

      If no location is selected, while Revolut Pay is enabled, the button won't be displayed anywhere.

      Selecting Product or Cart will display the button on the corresponding pages, with Fast checkout enabled. To learn more about Fast checkout, see: Fast checkout with Revolut Pay.

    Adobe Commerce (Magento 2) - Revolut Pay

  5. In the Credit / Debit Cards section, you have the fields:

    • Enable Credit / Debit Cards: Select Yes to enable the Revolut Credit / Debit Cards gateway. The gateway accepts all types of cards: prepaid, deferred, credit, debit, etc.
    • Title: Enter the title displayed on the checkout page for Credit / Debit Cards.

    Adobe Commerce (Magento 2) - Credit / Debit Cards

  6. In the Apple Pay / Google Pay section, you have the following fields:

    • Use these settings to customise and match the style of the payment request button with the theme of your store:

      • Enable Apple Pay / Google Pay: Select Yes to enable the Apple Pay / Google Pay gateway. With this gateway you can accept payments via Apple Pay and Google Pay.
      • Payment Request Button Theme: Select the colour theme of the button. Possible values: Dark, Light, Light Outlined.
      • Payment Request Button Action: Select the text to be displayed on the button. Possible values: Buy, Donate, Pay.
      • Payment Request Button Radius: Select the border radius of the button. Possible values: None, Small, Large.
      • Payment Request Button Size: Select the size of the button. Possible values: Large, Small.
    • Use this setting to select where to display the payment request button on your stores:

      • Locations: Select where to display the button. You can select multiple values by holding [CTRL]/[CMD]. Possible values: Checkout, Product, Cart.

        info

        If no location is selected, while Apple Pay / Google Pay is enabled, the button won't be displayed anywhere.

        Selecting Product or Cart will display the button on the corresponding pages, with Fast checkout enabled. To learn more about Fast checkout, see: Fast checkout with Revolut Pay, Apple Pay / Google Pay.

    Adobe Commerce (Magento 2) - Apple Pay / Google Pay

  1. In the Additional Settings section, you have the fields:

    • Enable Reward Banner: Select Yes if you want to display Revolut's promotional banner. Customers who join Revolut will receive a reward after creating a new account. The banner is displayed under the card widget on the checkout page, and on the order confirmation page after checkout.
    • Payment from Applicable Countries: Select whether to accept payments from all allowed countries or only specific countries.
      • All Allowed Countries: Enable all the allowed countries to make payments.
      • Specific Countries: To accept payments from specific countries, select one or more countries (using the CTRL or SHIFT key) in the Payment from Specific Countries list.
    • Sort Order: The order of the Revolut payment methods that is displayed on the checkout page. For example, if you set this field to 0 for Revolut Pay, then Revolut Pay is displayed as the first payment method.

    Adobe Commerce (Magento 2) - Additional Settings

  2. Click Save Config in the top right corner to apply any changes made.

Test the plugin in the Sandbox environment

You can make test payments using the plugin in the Sandbox environment.

To do that, complete the following steps:

  1. Log in to to your store's admin panel and navigate to Stores > Configuration > Sales > Payment Methods > Revolut.

  2. Click Configure to expand the API Settings, Revolut Pay, Credit / Debit Cards, Apple Pay / Google Pay, and the Additional Settings section.

  3. Complete the fields:

    • In the API Key (sandbox mode) field, enter the Sandbox API Secret key.
    • In the API Settings section, set Select Mode to Sandbox.
    • In the Revolut Pay section, set Enable to Yes.
    • In the Credit / Debit Cards section, set Enable to Yes.
    • In the Apple Pay / Google Pay section, set Enable to Yes.
  4. Click Save Config to apply the changes.

For more information about testing the integration, see Test in the Sandbox environment.

success

Congratulations! Now you can start testing payments using our test cards.

Use the plugin in the Production environment

When you are ready to start accepting payments in your store using the Revolut Gateway for Adobe Commerce (Magento 2) plugin, complete the following steps:

  1. Log in to to your store's admin panel and navigate to Stores > Configuration > Sales > Payment Methods > Revolut.

  2. Click Configure to expand the API Settings, Revolut Pay, Credit / Debit Cards, Apple Pay / Google Pay, and the Additional Settings section.

  3. Complete the fields:

    • In the API Settings section, set Select Mode to Live.
    • In the API Key field, enter the Production API Secret key.
    • In the Revolut Pay section, set Enable to Yes.
    • In the Credit / Debit Cards section, set Enable to Yes.
    • In the Apple Pay / Google Pay section, set Enable to Yes.
  4. Click Save Config to apply the changes.

success

Congratulations! Now you can start accepting real payments in your Adobe Commerce store.

Was this page helpful?