{"id":208574,"date":"2025-01-03T06:05:28","date_gmt":"2025-01-03T06:05:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/payhere-payment-gateway-beta\/"},"modified":"2026-01-22T06:06:06","modified_gmt":"2026-01-22T06:06:06","slug":"payhere-payment-gateway-beta","status":"publish","type":"plugin","link":"https:\/\/co.wordpress.org\/plugins\/payhere-payment-gateway-beta\/","author":15046948,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5.3","stable_tag":"2.5.3","tested":"6.9.4","requires":"6.4","requires_php":"","requires_plugins":null,"header_name":"PayHere Payment Gateway - Beta","header_author":"PayHere (Private) Limited","header_description":"This is a beta version of the PayHere Payment Gateway and is recommended for use in a development environment.","assets_banners_color":"8d847c","last_updated":"2026-01-22 06:06:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.payhere.lk","header_plugin_uri":"","header_author_uri":"https:\/\/www.payhere.lk","rating":0,"author_block_rating":0,"active_installs":20,"downloads":792,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.3.8":{"tag":"2.3.8","author":"payhere","date":"2025-01-03 06:04:51"},"2.4.0":{"tag":"2.4.0","author":"payhere","date":"2025-01-03 08:11:20"},"2.5.0":{"tag":"2.5.0","author":"payhere","date":"2025-03-04 11:12:07"},"2.5.1":{"tag":"2.5.1","author":"payhere","date":"2025-08-12 11:11:34"},"2.5.2":{"tag":"2.5.2","author":"payhere","date":"2026-01-16 07:11:59"},"2.5.3":{"tag":"2.5.3","author":"payhere","date":"2026-01-22 06:06:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3216301,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3216301,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3216301,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.3.8","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3216301,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3216301,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3216301,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3216301,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3216301,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3216301,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3216301,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"PayHere configuration on WooCommerce admin area","2":"PayHere subscription settings","3":"PayHere Checkout page","4":"PayHere Tokenized Customers list","5":"PayHere Saved Cards Menu for Customers","6":"Pay with saved card options","7":"PayHere Hold on Card Capture"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4187,74609,1887,74610],"plugin_category":[45],"plugin_contributors":[90694],"plugin_business_model":[],"class_list":["post-208574","plugin","type-plugin","status-publish","hentry","plugin_tags-online","plugin_tags-payhere","plugin_tags-payments","plugin_tags-sri-lanka","plugin_category-ecommerce","plugin_contributors-payhere","plugin_committers-payhere"],"banners":{"banner":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/banner-772x250.png?rev=3216301","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/icon-128x128.png?rev=3216301","icon_2x":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/icon-256x256.png?rev=3216301","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-1.png?rev=3216301","caption":"PayHere configuration on WooCommerce admin area"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-2.png?rev=3216301","caption":"PayHere subscription settings"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-3.png?rev=3216301","caption":"PayHere Checkout page"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-4.png?rev=3216301","caption":"PayHere Tokenized Customers list"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-5.png?rev=3216301","caption":"PayHere Saved Cards Menu for Customers"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-6.png?rev=3216301","caption":"Pay with saved card options"},{"src":"https:\/\/ps.w.org\/payhere-payment-gateway-beta\/assets\/screenshot-7.png?rev=3216301","caption":"PayHere Hold on Card Capture"}],"raw_content":"<!--section=description-->\n<p>This is a beta version of the PayHere Payment Gateway and is recommended for use in a development environment.<\/p>\n\n<p>When a customer proceeds to checkout and completes a purchase, this plugin transmits necessary data\u2014including order and customer information\u2014to 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:\n- <strong>PayHere Service<\/strong>: <a href=\"https:\/\/www.payhere.lk\/\">https:\/\/www.payhere.lk\/<\/a>\n- <strong>PayHere Terms of Use<\/strong>: <a href=\"https:\/\/www.payhere.lk\/legal\/\">https:\/\/www.payhere.lk\/legal\/<\/a>\n- <strong>PayHere Privacy Policy<\/strong>: <a href=\"https:\/\/www.payhere.lk\/privacy\">https:\/\/www.payhere.lk\/privacy<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the WooCommerce-&gt;Settings-&gt;Checkout-&gt;PayHere screen to configure the plugin with your PayHere Merchant Account<\/li>\n<li>Make sure you tick the Sandbox Mode checkbox if you want to test the plugin with your PayHere Sandbox account<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20sign%20up%20for%20a%20payhere%20merchant%20account%3F\"><h3>How to sign up for a PayHere Merchant Account?<\/h3><\/dt>\n<dd><p>Go to PayHere website &amp; apply for a Merchant Account.\nhttps:\/\/www.payhere.lk<\/p><\/dd>\n<dt id=\"how%20to%20enable%20on-site%20checkout%3F\"><h3>How to enable On-site checkout?<\/h3><\/dt>\n<dd><p>Go to WooCommerce Settings &gt; Payments &gt; PayHere &gt; Manage and tick \"Enable On-site checkout\"<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20support%20woocommerce%20subscriptions%3F\"><h3>Does the plugin support WooCommerce Subscriptions?<\/h3><\/dt>\n<dd><p>Yes. Supported Subscription products can be checked out with the gateway.<\/p><\/dd>\n<dt id=\"what%20are%20the%20limitations%20in%20support%20for%20woocommerce%20subscriptions%3F\"><h3>What are the limitations in support for WooCommerce Subscriptions?<\/h3><\/dt>\n<dd><ol>\n<li>Only one subscription can be checked out at one time<\/li>\n<li>An order cannot contain normal and subscription products<\/li>\n<li>Trial and billing periods must be equal<\/li>\n<li>The trial length cannot be larger than one billing period<\/li>\n<li>Synchronized subscriptions are not supported<\/li>\n<li>Free trials cannot be processed<\/li>\n<\/ol><\/dd>\n<dt id=\"how%20do%20customers%20use%20the%20save%20card%20feature%3F\"><h3>How do customers use the Save Card Feature?<\/h3><\/dt>\n<dd><p>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.<\/p>\n\n<p>On their next visits, customers will be offered the option of paying with their saved card.<\/p><\/dd>\n<dt id=\"can%20customers%20remove%20their%20saved%20card%3F\"><h3>Can customers remove their Saved Card?<\/h3><\/dt>\n<dd><p>Yes. Customers should to navigate to My Account &gt; Saved Cards. This menu will only appear for customers with saved cards.<\/p>\n\n<p>Once in the menu, click \"Remove Card\".<\/p><\/dd>\n<dt id=\"how%20do%20i%20integrate%20payhere%20tokenized%20cards%3F\"><h3>How do I integrate PayHere Tokenized Cards?<\/h3><\/dt>\n<dd><ol>\n<li>You should be a PayHere PREMIUM plan subscriber or using a PayHere Sandbox account to use this feature<\/li>\n<li>Login to your PayHere Merchant Account<\/li>\n<li>Navigate to Settings &gt; Business Apps &gt; Create App<\/li>\n<li>Generate an App ID and App Secret<\/li>\n<li>Go to WooCommerce Settings &gt; Payments &gt; PayHere &gt; Manage<\/li>\n<li>Click \"Enable Tokenizer\"<\/li>\n<li>Copy and paste the App ID and App Secret generated in Step 4<\/li>\n<li>Click Save<\/li>\n<\/ol><\/dd>\n<dt id=\"can%20i%20view%20the%20list%20of%20customers%20with%20pre-approved%20%28saved%29%20cards%3F\"><h3>Can I view the list of customers with Pre-approved (saved) cards?<\/h3><\/dt>\n<dd><p>Yes. Navigate to WooCommerce &gt; Cards on files<\/p><\/dd>\n<dt id=\"the%20plugin%20gets%20de-activated%20after%20updating%20to%20version%202.0.%2A\"><h3>The plugin gets de-activated after updating to version 2.0.*<\/h3><\/dt>\n<dd><p>Go to WP-Admin &gt; Plugins, and re-activated the PayHere plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3.8<\/h4>\n\n<p>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.<\/p>\n\n<h4>2.4.0<\/h4>\n\n<p>Support for PayHere gateway discounts has been enabled to display in WooCommerce Orders.<\/p>\n\n<h4>2.5.0<\/h4>\n\n<p>Support for YITH WooCommerce Subscription Plugin.<\/p>\n\n<h4>2.5.1<\/h4>\n\n<p>Bug Fixes<\/p>\n\n<h4>2.5.2<\/h4>\n\n<p>Bug fixes and security enhancements.<\/p>\n\n<h4>2.5.3<\/h4>\n\n<p>Bug fixes.<\/p>","raw_excerpt":"PayHere Payment Gateway Plugin for WooCommerce","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/208574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=208574"}],"author":[{"embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/payhere"}],"wp:attachment":[{"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=208574"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=208574"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=208574"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=208574"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=208574"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=208574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}