Magento Plugin

This extension adds a new payment option to your Magento store's checkout page, offering customers a variety of payment methods through PortOne.

Installation Guide

Upload the Extension to Magento

Option 1: Download Directly

  1. Navigate to the Magento root directory:
    cd $ROOT
    
  2. Change to the app/code directory:
    Note: If the code directory does not exist, create it.
    cd app/code
    
  3. Download the extension zip file:
    wget <extension_url>
    
  4. Unzip the downloaded extension file:
    tar -xf <extension_file>
    

Option 2: Upload via FTP

Use an FTP client to upload the extension folder to the app/code directory within the Magento root directory.

Install the Plugin

After uploading the extension, follow these steps to install the plugin:

# Navigate back to the Magento root directory
cd $ROOT

# Enable the PortOne_Payment module
php bin/magento module:enable PortOne_Payment

# Upgrade the setup
php bin/magento setup:upgrade

# Compile the dependency injection configurations
php bin/magento setup:di:compile

# Deploy static content
php bin/magento setup:static-content:deploy -f

Supported Magento Versions

  • 2.3.4
  • 2.4.2
  • 2.4.3

Configuration Instructions

  1. Log in to the Magento Admin Panel.
  2. Navigate to Stores > Configuration.
  3. In the Sales section, click on Payment Methods.
  4. Scroll down and locate the PortOne payment method.
  5. Enter your PortOne API Key and Secure Secret.

Configuring the Webhook

  1. Create a new webhook in the PortOne Admin Dashboard.
  2. Copy the webhook path provided in the Magento plugin settings.
  3. Add your domain as a prefix to the webhook path.
    Example:
    {{base_url}}/portonepg/standard/update
    

Miscellaneous

Updating the Payment Logo

To update the payment logo, follow these steps:

  1. Copy the new logo image to the following path:
    app/code/PortOne/Payment/view/frontend/web/images/portone-logo.png
    
  2. Then paste the image inside the following directory:
    pub/media/portone/portone-logo.png