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
- Navigate to the Magento root directory:
cd $ROOT
- Change to the app/code directory:
Note: If the code directory does not exist, create it.cd app/code
- Download the extension zip file:
wget <extension_url>
- 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
- Log in to the Magento Admin Panel.
- Navigate to Stores > Configuration.
- In the Sales section, click on Payment Methods.
- Scroll down and locate the PortOne payment method.
- Enter your PortOne API Key and Secure Secret.
Configuring the Webhook
- Create a new webhook in the PortOne Admin Dashboard.
- Copy the webhook path provided in the Magento plugin settings.
- 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:
- Copy the new logo image to the following path:
app/code/PortOne/Payment/view/frontend/web/images/portone-logo.png
- Then paste the image inside the following directory:
pub/media/portone/portone-logo.png
Updated 4 months ago