Skip to content

Magento

Installation

WARNING

This module overrides the default checkout messages behavior to disable auto-hiding of messages.

WARNING

This Magento integration only supports credit card payments. ACH and surcharge support is currently under development.

  1. Download the latest release of this module .

  2. Extract the contents to <magento_installation_directory>/app/code/Custom (if code and Custom directories don't exist yet, create them)

  3. Rename the extracted directory to PaymentGateway, the end result should look like this:

     <magento_installation_directory>/app/code/Custom/PaymentGateway
    
  4. Run the following commands to enable the module

     <magento_installation_directory>bin/magento setup:upgrade
     <magento_installation_directory>bin/magento setup:di:compile
    
  5. Validate the installation by running the following command

     grep Custom_PaymentGateway <magento_installation_directory>/app/etc/config.php
    

    The result should look like this:

     'Custom_PaymentGateway' => 1,
    

Configuration

  1. Open the Magento Administration page
  2. Select STORES from the menu on the left, then select Configuration
  3. Open the SALES collapsible on the left and select Payment Methods
  4. Scroll down until you find the Custom Payment Gateway collapsible and open it
  5. Change Enabled from No to Yes
  6. Add your API Key
  7. Add the Base URL where the API requests will be sent to.
  8. Click Save Config in the top right corner

Base URL

Integration test

For testing purposes use the url with the corresponding API key.

Going Live

Change the URL for with the correct API key.