Cost+ Docs

Magento

Integrate Cost+ with your Magento 2 store

Integrate Cost+ as a payment method in your Magento store. The Cost+ extension supports Magento 2 (versions 2.4.6, 2.4.7, and 2.4.8).

Prerequisites

  • Active Cost+ merchant account
  • Magento 2.4.6 - 2.4.8 installation
  • PHP 8.2 - 8.4
  • Admin access to your Magento admin panel
  • SSH access to your server (for Composer installation)

1. Install the Extension

Connect to your Magento server via SSH and navigate to your Magento root directory.

Install the plugin:

composer require nopayn/nopayn-magento-2

Run Magento setup commands:

php bin/magento setup:upgrade
php bin/magento module:enable GingerPay_Payment
php bin/magento cache:clean

If you are in production mode, also run:

php bin/magento setup:static-content:deploy

Method B: Manual Installation

  1. Navigate to your app/code directory
  2. Download and unzip the Cost+ release from GitHub
  3. Run the setup commands:
php bin/magento setup:upgrade
php bin/magento cache:clean

If in production mode:

php bin/magento setup:static-content:deploy

2. Configure the Plugin

Once installed, configure the plugin through your Magento admin panel:

  1. Go to Stores > Configuration > Sales > Payment Methods > Cost+ Payments
  2. Enter your API key (see step 3 below)
  3. Enable the payment methods you have been approved for
  4. Save changes

3. Enter API Credentials

Log into the Merchant Portal and navigate to Websites, then click on the website you want to connect. Click on Integration where you will find your API key.

Cost+ Merchant Portal showing API key

Paste the API key into the configuration field and save.

4. Test Your Setup

  1. Place a few test transactions -- both successful and failed
  2. Verify all enabled payment methods appear at checkout
  3. Configure capture behavior (auto-capture vs. manual) based on your fulfillment process

Support

Need help? Reach out to our support team at support@costplus.io.

On this page