Skip to content

SanderAtom/magento2

 
 

Repository files navigation

CardGate

CardGate module for Magento 2

Total Downloads Latest Version Build Status

Support

This plugin supports Magento 2 up to version 2.2.1. It might work on more recent versions, but we cannot make any guarantees.

Preparation

The usage of this module requires that you have obtained CardGate RESTful API credentials. Please visit My Cardgate and retrieve your RESTful API username and password, or contact your accountmanager.

Installation

The CardGate Module for Magento 2 is installed via Composer.

  1. Go to Magento 2 root folder.

  2. Enter following commands to install module:

    composer require cardgate/magento2
    

    Wait while dependencies are updated.

  3. Enter following commands to enable module:

    php bin/magento module:enable Cardgate_Payment
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento cache:clean
    
  4. If Magento is running in production mode, deploy static content:

    php bin/magento setup:static-content:deploy
    

Configuration

  • Open the Magento Admin panel and view the CardGate plugin-configuration:
    • Stores > Configuration
    • Sales > CardGate
  • Fill in the CardGate configuration section using the API credentials obtained earlier.
  • Save config.
  • Refresh the active payment methods:
    • CardGate information section
    • Paymentmethods > Refresh active paymentmethods
    • Check the output
  • After the paymentmethods are refreshed successfully, all active Paymentmethod sections can be enabled and edited.

Requirements

This extension requires the CardGate API client library for PHP.

When using composer this will be installed automatically. To install manually, enter the following command in your Magento 2 root folder:

composer require cardgate/cardgate-clientlib-php

About

CardGate module for Magento 2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.5%
  • JavaScript 6.7%
  • HTML 4.8%