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”

Does the plugin support WooCommerce Subscriptions?

Yes. Supported Subscription products can be checked out with the gateway.

What are the limitations in support for WooCommerce Subscriptions?

  1. Only one subscription can be checked out at one time
  2. An order cannot contain normal and subscription products
  3. Trial and billing periods must be equal
  4. The trial length cannot be larger than one billing period
  5. Synchronized subscriptions are not supported
  6. The ‘daily’ billing period is not supported
  7. Free trials cannot be processed


16 ਦਸੰਬਰ 2019
Thanks, This is really useful for Sri Lankans.
Read all 4 reviews

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

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


“WooCommerce PayHere Payment Gateway” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


Fixed various issues


Fixed various issues


Bug fixes
WooCommerce Subscription Support


Bug fixes