Plugin for Magento

Integrating PayHere with your Magento website is super easy with our PayHere Payment Plugin for Magento. You just have to download it from following link, upload it to your server & configure it with your PayHere account details to start accepting online payments via PayHere.

Please refer the detailed steps below.

Magento v1.x Settings
  1. Download the PayHere Plugin for Magento v1.x directly from here
  2. Upload the files to Magento directory of your server
  3. In your Magento admin, navigate to System > Cache Management & click on both Flush Magento Cache & Flush Cache Storage in order to clear Magento cache
  4. Then navigate to System > Configuration > Payment Methods > PayHere
  5. Enter your Merchant ID (You can find it on the Settings > PayHere Plugins section of your PayHere account)
  6. Enter your Merchant Secret (You can find it on the Settings > PayHere Plugins section of your PayHere account)
  7. Do not tick the checkbox to Enable Sandbox Mode (Tick it only if you're testing your integration with a PayHere Sandbox Account)
  8. Click Save Changes
Magento v2.x Settings
  1. Download the PayHere Plugin for Magento v2.x directly from here
  2. Upload the files to /app/code/ folder on your server
  3. Install the module by running
    bin/magento setup:upgrade
    rm -rf var/cache/*
    rm -rf generated/*
    
  4. Sign in to your Magento admin, Flush your Magento cache under System > Cache Management & reindex all templates under System > Index Management
  5. Then navigate to Payment Methods under Stores > Configuration > Sales > Payment Methods > Other Payment Methods > PayHere
  6. Enter your Merchant ID (You can find it on the Settings > PayHere Plugins section of your PayHere account)
  7. Enter your Merchant Secret (You can find it on the Settings > PayHere Plugins section of your PayHere account)
  8. Do not tick the checkbox to Enable Sandbox Mode (Tick it only if you're testing your integration with a PayHere Sandbox Account)
  9. Click Save Changes


That's it. Now you are ready to accept payments from your Magento website.

Plugin for Magento - PayHere Knowledge Base

Still need help? Get in touch!
Last updated on 9th Jul 2018