
PayHere Payment Gateway Plugin for WooCommerce
| Author: | PayHere (profile at wordpress.org) |
| WordPress version required: | 6.4 |
| WordPress version tested: | 6.9 |
| Plugin version: | 2.5.3 |
| Added to WordPress repository: | 03-01-2025 |
| Last updated: | 22-01-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 781 |
| Active installs: | 20+ |

Click to start download
|
This is a beta version of the PayHere Payment Gateway and is recommended for use in a development environment.
When a customer proceeds to checkout and completes a purchase, this plugin transmits necessary data—including order and customer information—to PayHere in order to finalize the payment. This data transmission is required for payment processing and occurs only when a customer initiates a transaction. For more information, please refer to the links below:
– PayHere Service: https://www.payhere.lk/
– PayHere Terms of Use: https://www.payhere.lk/legal/
– PayHere Privacy Policy: https://www.payhere.lk/privacy
Screenshots

PayHere configuration on WooCommerce admin area

PayHere subscription settings

PayHere Checkout page

PayHere Tokenized Customers list

PayHere Saved Cards Menu for Customers

Pay with saved card options

PayHere Hold on Card Capture
FAQ
How to sign up for a PayHere Merchant Account?
Go to PayHere website & apply for a Merchant Account.
https://www.payhere.lk
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?
- Only one subscription can be checked out at one time
- An order cannot contain normal and subscription products
- Trial and billing periods must be equal
- The trial length cannot be larger than one billing period
- Synchronized subscriptions are not supported
- Free trials cannot be processed
How do customers use the Save Card Feature?
You should be a PayHere PREMIUM plan subscriber or using a PayHere Sandbox account to use this feature. After enabling the feature as explained in the “How do I use Use PayHere Tokenized Cards?”, customers will automatically see a “Save Card” tick mark when paying.
On their next visits, customers will be offered the option of paying with their saved card.
Can customers remove their Saved Card?
Yes. Customers should to navigate to My Account > Saved Cards. This menu will only appear for customers with saved cards.
Once in the menu, click “Remove Card”.
How do I integrate PayHere Tokenized Cards?
- You should be a PayHere PREMIUM plan subscriber or using a PayHere Sandbox account to use this feature
- Login to your PayHere Merchant Account
- Navigate to Settings > Business Apps > Create App
- Generate an App ID and App Secret
- Go to WooCommerce Settings > Payments > PayHere > Manage
- Click “Enable Tokenizer”
- Copy and paste the App ID and App Secret generated in Step 4
- Click Save
Can I view the list of customers with Pre-approved (saved) cards?
Yes. Navigate to WooCommerce > Cards on files
The plugin gets de-activated after updating to version 2.0.*
Go to WP-Admin > Plugins, and re-activated the PayHere plugin.
ChangeLog
2.3.8
Fixed issues with authorized and tokenized payments, and the issue with shipping details not being passed to PayHere in partial payments has also been fixed.
2.4.0
Support for PayHere gateway discounts has been enabled to display in WooCommerce Orders.
2.5.0
Support for YITH WooCommerce Subscription Plugin.
2.5.1
Bug Fixes
2.5.2
Bug fixes and security enhancements.
2.5.3
Bug fixes.