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 Merchant Account details to start accepting online payments via PayHere.
Magento v1.x Settings
- Download the PayHere Plugin for Magento v1.x directly from here.
- Upload the files to Magento directory of your server.
- In your Magento admin, navigate to System > Cache Management & click on both Flush Magento Cache & Flush Cache.
- Storage in order to clear Magento cache.
- Then navigate to System > Configuration > Payment Methods > PayHere.
- Enter your Merchant ID (You can find it at the Integrations section of your PayHere account).
- Enter your Merchant Secret (You can find it at the Integrations section of your PayHere account).
- Do not tick the checkbox to Enable Sandbox Mode (Tick it if you need to test your integration with a PayHere Sandbox Account).
- Click Save Changes.
Magento v2.x Settings
Download the PayHere Plugin matching your Magento version:
- For Magento v2.3+, directly from here.
- For Magento v2.0 - v2.2.x, directly from here.
Upload the files to '/app/code/' folder on your server.
Install the module by running.
bin/magento setup:upgrade
rm -rf var/cache/*
rm -rf generated/*
- Sign in to your Magento admin, Flush your Magento cache under System > Cache Management & reindex all templates under System > Index Management.
- Then navigate to Payment Methods under Stores > Configuration > Sales > Payment Methods > Other Payment Methods > PayHere.
- Enter your Merchant ID (You can find it at the Integrations section of your PayHere account).
- Enter your Merchant Secret (You can find it at the Integrations section of your PayHere account).
- Do not tick the checkbox to Enable Sandbox Mode (Tick it if you need to test your integration with a PayHere Sandbox Account).
- Click Save Changes.