Skip to main content

Magento Plugin

This is a Magneto Extension for making payments using PortOne. It adds a new payment option for your store on the checkout page and opens up a lot of options for the user to pay.

Plugin file#

PortOne-magento-Extension

How to install#

Upload Extension to Magento#

  • Download from Url
    1. Goto Magento root folder → $ROOT
    2. Change Directory to → $ROOT/app/code

      NOTE: if the code directory doesn't exist please create it"

    3. To download extension zip → wget {{ extension url }}
    4. To unzip extension file → tar -xf {{ Extension file }}

OR

  • One can use FTP to upload an extension folder to $ROOT/app/code

Below are the steps to install the plugin after uploading#

# cd back into the root folder of Magento
$ php bin/magento module:enable PortOne_Payment
$ php bin/magento setup:upgrade
$ php bin/magento setup:di:compile
$ php bin/magento setup:static-content:deploy -f

Supported Magento Version#

  • 2.3.4
  • 2.4.3
  • 2.4.2

How To Configure#

  1. Login Into Admin Panel.
  2. Goto Stores Configuration.
  3. Goto Payment Methods Tab inside the Sales Section.
  4. Scroll down and locate PortOne
  5. Fill in your details like PortOne Key and Secure Secret.
  6. For configuring the webhook:
    • Create a new webhook in Admin Dashboard
    • Copy the path given in the Magento Plugin setting page and add your domain in the suffix
      Example → {{base_url}}/portonepg/standard/update

Miscelleneous#

To update the image follow the below steps#

  • Copy the image from → app/code/PortOne/Payment/view/frontend/web/images/portone-logo.png
  • Paste the image inside → pub/media/portone/portone-logo.png