This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WooCommerce PayHere Payment Gateway


PayHere is a Sri Lankan Payment Gateway Service that enables you to accept payments online from your customers via Visa, MasterCard, Amex, eZcash, mCash & Internet Banking services. You can install this plugin to list PayHere as a payment method in your WooCommerce store.


  • PayHere configuration on WooCommerce admin area
  • PayHere listed as a payment method at WooCommerce checkout page


  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the WooCommerce->Settings->Checkout->PayHere screen to configure the plugin with your PayHere Merchant Account
  4. Make sure you tick the Sandbox Mode checkbox if you want to test the plugin with your PayHere Sandbox account


How to sign up for a PayHere Merchant Account?

Go to PayHere website & apply for a Merchant Account.

How to enable On-site checkout?

Go to WooCommerce Settings > Payments > PayHere > Manage and tick “Enable On-site checkout”


Read all 3 reviews

Contributors & Developers

“WooCommerce PayHere Payment Gateway” is open source software. The following people have contributed to this plugin.




Initial public release


Fixed PayHere logo not showing issue


Fixed redirecting issue


Fixed Return URL issue in latest WP versions


Added support for On-site checkout


Fixed issue with On-site checkout in live mode