LogoLogo
  • Introduction
  • Quick Start
  • User Management
  • Card Management
  • Address Management
  • Payment Processing
  • Account Secuirty
  • Payment Security
  • Glossary
  • How to Integrate
    • WooCommerce
    • Magento
    • Custom System
Powered by GitBook
On this page
  • Module Installation Using Composer
  • Step 1: Install the Extension
  • Step 2: Deploy the Extension
  • Step 3: Verify the Installation
  • Module Installation Using Zip File
  • Step 1: Upload the Module Files
  • Step 2: Confirm the Module's Presence
  • Step 3: Deploy the Extension
  • Step 4: Verify the Installation
  • Configuring Krepling Pay as a Payment Method
  • Step 1: Access Configuration Settings
  • Step 2: Configure the Payment Method
  • Step 3: Save Your Configuration
  • Krepling Pay on Your Storefront
Export as PDF
  1. How to Integrate

Magento

This guide is designed to walk you through the process in a clear, step-by-step manner, whether you choose to install the module via composer or by using a zip file. Additionally, we'll cover how to configure the Krepling Payment Method settings within your Magento admin panel.

Module Installation Using Composer

Step 1: Install the Extension

  • Open your terminal or command prompt.

  • Navigate to the root directory of your Magento installation.

  • Enter the following command to install the Krepling Pay extension:

composer require krepling/paymentgateway

This command tells Composer, a dependency manager for PHP, to download and install the Krepling Pay module for your Magento store.

Tip: Ensure your Composer is up to date by running composer self-update. An outdated Composer might cause issues when trying to install new extensions.

Step 2: Deploy the Extension

  • After the installation is complete, you need to integrate the extension with your Magento installation. Execute the following Magento commands one by one in your terminal:

php bin/magento setup:di:compile
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

These commands compile your Magento code, upgrade your database schema (if needed), deploy static view files, and clear the Magento cache to ensure your new module works correctly.

Step 3: Verify the Installation

  • Log into your Magento admin panel.

  • Go to 'System' > 'Web Setup Wizard' > 'Module Manager' to check if the Krepling Pay module is listed and enabled.

  • Enter the required Merchant ID and Secret ID to activate the module fully.

Tip: If the module does not appear in your admin panel, check if you have properly cleared the cache. Sometimes, a manual deletion of the cache folder content is more effective (rm -rf var/cache/*).

Module Installation Using Zip File

Step 1: Upload the Module Files

  • Download the Krepling Pay module as a zip file and extract it.

  • Upload the extracted folder to your Magento server's app/code directory. This might require FTP access or a file manager tool provided by your hosting service.

Step 2: Confirm the Module's Presence

  • Make sure the folder structure follows the Magento standard: app/code/VendorName/ModuleName.

  • Replace "VendorName" and "ModuleName" with the actual names for the Krepling Pay module.

Step 3: Deploy the Extension

  • Just like with the composer installation, run the same Magento deploy commands in your terminal to compile the code and update your Magento instance.

Step 4: Verify the Installation

  • Again, check in your Magento admin panel if the module is active and enter the Merchant ID and Secret ID.

Configuring Krepling Pay as a Payment Method

Step 1: Access Configuration Settings

  • In your Magento admin panel, navigate through Stores > Settings > Configuration > Sales > Payment Methods.

  • Scroll down to "Other Payment Methods" and find the Krepling Payment Method.

Step 2: Configure the Payment Method

  • Enter your Merchant ID and Secret ID in the respective fields. These credentials are essential for processing payments through Krepling Pay.

  • Adjust any other settings according to your preferences.

Step 3: Save Your Configuration

  • Click on the Save Config button to apply your changes.

Krepling Pay on Your Storefront

After completing the setup and configuration, Krepling Pay will be available as an option on your checkout payment page. Customers can now choose Krepling Pay to complete their purchases securely and efficiently.

This guide aims to make the integration process as straightforward as possible. However, if you encounter any issues, consult the official Magento and Krepling documentation or reach out to our support team at support@krepling.com for additional assistance.

PreviousWooCommerceNextCustom System

Last updated 2 months ago

Page cover image