ePrivacy and GPDR Cookie Consent by Cookie Consent

Payment Module for Magento

Integrate Cardinity with your Magento store.

Magento is an ecommerce platform built on open source technology which provides online merchants with a flexible shopping cart system, as well as control over the look, content and functionality of their online store. Magento offers powerful marketing, search engine optimization, and catalog-management tools

Integration guide



  1. Cardinity account;
  2. PHP ≥ 7.2;
  3. Composer 1 (for methods 1 and 3).

Method no. 1; Using composer (recommended).

  1. Run the following command in Magento 2 root folder (require the module via composer.json)
    composer require cardinity/magento
  2. Enable the module with: 
    bin/magento module:enable Cardinity_Magento
    then run:
    bin/magento setup:upgrade
  3. Proceed to configuration.

Method no. 2; Using Magento marketplace.

Note: this method has been deprecated as of Magento 2.3.6 and removed in Magento 2.4.0. Only works with older versions.


  1. Go to Magento marketplace and search for "Cardinity payment gateway" or navigate directly to → https://marketplace.magento.com/cardinity-magento.html
  2. Select your store version and click Add to cart.
  3. Proceed to checkout, fill in the billing form (don't worry - its free) and obtain the extension via Magento Marketplace Platform.
  4. Once the order is complete, click Install.
  5. Once you are redirected to "My Access Keys" page, copy private and public access keys.
  6. Next, login to your store admin panel. Go to System" → "Web setup wizard, then choose Component manager.
  7. Click on Sign in and paste Public and Private access keys.
  8. After successfully putting in the keys, click Sync. Then, click Install under New purchases.
  9. Among new purchases, find Cardinity payment module and click Install. Wait while readiness check is finished. Click Next. During step 2, create a backup if needed (highly recommended) and click next again.
  10. Finally, click Install during "step 3: Component install".
  11. If everything is done correctly, you should be prompted that Cardinity extension has been installed. Proceed to configuration.

Method no. 3; Using app/code.

  1. Download the latest Cardinity Payment Module for Magento 2 here: https://github.com/cardinity/cardinity-magento/releases
  2. Extract files to "app/code/Cardinity/Magento" in your Magento 2 main directory.
  3. Add the following line in Magento 2 composer.json file under "require": "cardinity/cardinity-sdk-php": "~3.0",
  4. Next, update dependencies with composer update ;
  5. Then, use following command to compile the new codes:
    bin/magento setup:di:compile
    bin/magento setup:upgrade
  6. Enable the module by adding
    bin/magento module:enable Cardinity_Magento
  7. Proceed to configuration.


  1. Login to your Magento admin panel.
  2. Go to Stores → Configuration → Sales → Payment Methods → Cardinity payments.
  3. Enter your Customer key and customer secret which can be found in your Cardinity account and set the payment method as active.
  4. Click "Save config" to finish the installation.

Watch a tutorial video: 

  • screenshot-add-to-cart.PNG
  • screenshot-credentials.png
  • screenshot-install.PNG