{"id":125203,"date":"2023-10-19T07:01:36","date_gmt":"2023-10-19T07:01:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/payzah-payment-gateway-for-woocmmerce\/"},"modified":"2026-02-25T11:32:58","modified_gmt":"2026-02-25T11:32:58","slug":"payzah-payment-gateway-for-woocmmerce","status":"publish","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/payzah-payment-gateway-for-woocmmerce\/","author":18161223,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.8.15","stable_tag":"1.8.15","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Payzah Payment Gateway for WooCommerce","header_author":"Payzah","header_description":"Payzah is third party payment gateway and it's supports KNET & Credit Cards Transactions (VISA & MasterCard) .","assets_banners_color":"5761ab","last_updated":"2026-02-25 11:32:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/payzah.com\/","header_author_uri":"https:\/\/payzah.com\/","rating":5,"author_block_rating":0,"active_installs":40,"downloads":3465,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"payzahadmin","date":"2023-10-19 07:38:54"},"1.8.1":{"tag":"1.8.1","author":"payzahadmin","date":"2026-02-15 14:06:06"},"1.8.10":{"tag":"1.8.10","author":"payzahadmin","date":"2026-02-20 12:01:59"},"1.8.11":{"tag":"1.8.11","author":"payzahadmin","date":"2026-02-20 12:08:26"},"1.8.12":{"tag":"1.8.12","author":"payzahadmin","date":"2026-02-20 12:32:10"},"1.8.13":{"tag":"1.8.13","author":"payzahadmin","date":"2026-02-20 12:38:37"},"1.8.14":{"tag":"1.8.14","author":"payzahadmin","date":"2026-02-20 12:48:05"},"1.8.15":{"tag":"1.8.15","author":"payzahadmin","date":"2026-02-25 11:32:58"},"1.8.2":{"tag":"1.8.2","author":"payzahadmin","date":"2026-02-15 14:32:53"},"1.8.3":{"tag":"1.8.3","author":"payzahadmin","date":"2026-02-15 14:40:23"},"1.8.4":{"tag":"1.8.4","author":"payzahadmin","date":"2026-02-20 10:54:27"},"1.8.5":{"tag":"1.8.5","author":"payzahadmin","date":"2026-02-20 11:00:17"},"1.8.6":{"tag":"1.8.6","author":"payzahadmin","date":"2026-02-20 11:03:15"},"1.8.7":{"tag":"1.8.7","author":"payzahadmin","date":"2026-02-20 11:13:28"},"1.8.8":{"tag":"1.8.8","author":"payzahadmin","date":"2026-02-20 11:31:57"},"1.8.8.1":{"tag":"1.8.8.1","author":"payzahadmin","date":"2026-02-20 11:49:28"},"1.8.9":{"tag":"1.8.9","author":"payzahadmin","date":"2026-02-20 11:52:18"}},"upgrade_notice":{"1.6.2":"<p>Major modernization release. Core updates for WooCommerce Checkout Blocks, PHP 8.2 compatibility, and complete Arabic translations.<\/p>","1.6.1":"<p>Minor internal fixes.<\/p>","1.6":"<p>Important security and compatibility update. Adds HPOS support and fixes multiple security vulnerabilities. Recommended for all users.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3461877,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3461877,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3461877,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3461877,"resolution":"772x250","location":"assets","locale":"","width":535,"height":69}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.8.1","1.8.10","1.8.11","1.8.12","1.8.13","1.8.14","1.8.15","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.8.1","1.8.9"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[11475,1890,197566,507,286],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-125203","plugin","type-plugin","status-publish","hentry","plugin_tags-credit-card","plugin_tags-gateway","plugin_tags-knet","plugin_tags-payment","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_committers-payzahadmin"],"banners":{"banner":"https:\/\/ps.w.org\/payzah-payment-gateway-for-woocmmerce\/assets\/banner-772x250.png?rev=3461877","banner_2x":"https:\/\/ps.w.org\/payzah-payment-gateway-for-woocmmerce\/assets\/banner-1544x500.png?rev=3461877","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/payzah-payment-gateway-for-woocmmerce\/assets\/icon-128x128.png?rev=3461877","icon_2x":"https:\/\/ps.w.org\/payzah-payment-gateway-for-woocmmerce\/assets\/icon-256x256.png?rev=3461877","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Payzah Payment Gateway for WooCommerce allows you to accept payments via KNET and major credit cards (VISA &amp; MasterCard) in Kuwait. This plugin integrates seamlessly with WooCommerce to provide a secure and reliable payment solution.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Accept KNET payments<\/li>\n<li>Accept Credit Card payments (VISA &amp; MasterCard)<\/li>\n<li>Support for both English and Arabic languages<\/li>\n<li>Secure payment processing<\/li>\n<li>Refund support<\/li>\n<li>Test mode for development<\/li>\n<li>HPOS (High-Performance Order Storage) compatible<\/li>\n<li>PHP 8.x compatible<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/payzah-payment-gateway-for-woocommerce<\/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>Go to WooCommerce &gt; Settings &gt; Payments and enable Payzah.<\/li>\n<li>Configure your Payzah Private Key and other settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20payzah%20account%3F\"><h3>Do I need a Payzah account?<\/h3><\/dt>\n<dd><p>Yes, you need to sign up for a Payzah merchant account to use this plugin.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20refunds%3F\"><h3>Does this plugin support refunds?<\/h3><\/dt>\n<dd><p>Yes, the plugin supports full and partial refunds through the WooCommerce order interface.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20compatible%20with%20woocommerce%20hpos%3F\"><h3>Is this plugin compatible with WooCommerce HPOS?<\/h3><\/dt>\n<dd><p>Yes, version 1.6 and above fully supports WooCommerce High-Performance Order Storage (HPOS).<\/p><\/dd>\n<dt id=\"how%20to%20get%20private%20key%20for%20the%20payment%20gateway%3F\"><h3>How to get Private key for the payment gateway?<\/h3><\/dt>\n<dd><p>You can send an email to info@payzah.com to get a private key for the payment gateway.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8.15<\/h4>\n\n<ul>\n<li>Updated test API URLs for development environment (development.payzah.net).<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Refined admin setup notice with dual-action buttons: \"Configure\" and \"I Don't Have a Private Key\".<\/li>\n<li>Updated notice messaging for better clarity on setup requirements.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Added a native WordPress admin notice to alert users when Payzah setup is required (Private Key missing).<\/li>\n<li>Implemented industry-standard redirection to the Payzah settings page from the setup notice.<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Combined \"Get Private Key\" text and request link into a single line for a cleaner UI.<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Moved \"Request Private Key\" link from tooltip to directly below the input field for better visibility.<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Added \"Request Private Key\" link directly below the Private Key field in settings.<\/li>\n<li>Restored the internal request form logic for easier developer onboarding.<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Reverted settings page labels, descriptions, and defaults to match original v1.5 standard.<\/li>\n<li>Removed the \"Get Private Key\" request form and related admin UI elements.<\/li>\n<li>Cleaned up legacy admin hooks while preserving modernized core architecture.<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Fixed a fatal error and \"Reference code is missing\" issue during refunds.<\/li>\n<li>Switched to HPOS-compatible metadata retrieval for consistent data access.<\/li>\n<li>Optimized refund logic to use standard WooCommerce parameters.<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Fixed a critical issue where <code>BlocksSupport.php<\/code> was missing the opening <code>&lt;?php<\/code> tag.<\/li>\n<\/ul>\n\n<h4>1.6.9<\/h4>\n\n<ul>\n<li>Optimized plugin header in <code>payzah.php<\/code> to follow industry standards (added <code>Tested up to<\/code>, <code>Author URI<\/code>, and aligned tags).<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<ul>\n<li>Major internal refactor of the main plugin entry point (<code>payzah.php<\/code>).<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>Migrated conditionally email logic to OrderHelper for complete consistency.<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>Significant architectural cleanup: Moved core gateway and block support classes to <code>includes\/Classes\/<\/code>.<\/li>\n<li>Implemented <code>Payzah\\Classes<\/code> namespace for better organization.<\/li>\n<li>Optimized autoloader and removed legacy function wrappers for class definitions.<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>Refactored functions.php into modular Helper classes (Order, Admin, Checkout, Callbacks).<\/li>\n<li>Centralized logic in namespaced Payzah\\Helper components.<\/li>\n<li>Maintained full backward compatibility for all existing hooks.<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Architecture: Introduced namespaced SDK Client for Payzah API.<\/li>\n<li>Restructured payment and refund logic into modular SDK components.<\/li>\n<li>Fixed \"Invalid token\" error by synchronizing environment detection.<\/li>\n<li>Resolved various PHP 8.2+ property and access level notices.<\/li>\n<li>Centralized API communication through a dedicated SDK Client.<\/li>\n<li>Significant refactor of WC_Payzah class to use the new SDK architecture.<\/li>\n<\/ul>\n\n<h4>1.6.2 - 2026-02-06<\/h4>\n\n<p><strong>Modernization &amp; Full Compatibility:<\/strong>\n* Added support for WooCommerce Checkout Blocks (React-based checkout integration)\n* Fully compatible with WordPress 6.5, 6.6 and PHP 8.2\/8.3\n* Declared all dynamic properties in WC_Payzah class for PHP 8.2+ compatibility\n* Replaced legacy new WC_Order() with modern wc_get_order() for better reliability\n* Added security nonces and AJAX referer checks for Private Key requests\n* Complete Arabic translation update (payzah-ar.po\/mo) for all new features\n* Conditional loading of Blocks integration for 100% backward compatibility\n* Fixed constant case inconsistency (PAYZAH_IMAGE_DIR)<\/p>\n\n<h4>1.6.1 - 2026-02-06<\/h4>\n\n<ul>\n<li>Maintenance update and internal compatibility fixes.<\/li>\n<\/ul>\n\n<h4>1.6 - 2026-02-06<\/h4>\n\n<p><strong>Security Improvements:<\/strong>\n* Added isset() checks for all $_GET, $_POST, and $_REQUEST access\n* Replaced unsafe unserialize() with json_decode() for security\n* Added backward compatibility fallback for existing serialized data\n* Improved input validation and sanitization<\/p>\n\n<p><strong>Bug Fixes:<\/strong>\n* Fixed undefined $selected_lang variable warning\n* Replaced deprecated order_total property with get_total() method\n* Fixed $_GET['key'] undefined index warning\n* Fixed function signature for woocommerce_payzah_thankyou_title()\n* Added proper isset checks for payment method and transaction type<\/p>\n\n<p><strong>Enhancements:<\/strong>\n* Added HPOS (High-Performance Order Storage) compatibility\n* Improved PHP 8.x compatibility\n* Added comprehensive code quality tools (PHPCS, PHPStan)\n* Updated WordPress and WooCommerce compatibility headers\n* Improved error handling and logging<\/p>\n\n<p><strong>Code Quality:<\/strong>\n* Configured WordPress Coding Standards (PHPCS)\n* Configured PHPStan Level 5 static analysis\n* Improved code documentation\n* Better adherence to WordPress coding standards<\/p>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<li>Support for KNET and Credit Card payments<\/li>\n<li>Multi-language support (English\/Arabic)<\/li>\n<li>Refund functionality<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Updated the payment method field and label changes<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Plugin released<\/li>\n<\/ul>","raw_excerpt":"Accept KNET and Credit Card payments in Kuwait using Payzah Payment Gateway.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/125203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=125203"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/payzahadmin"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=125203"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=125203"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=125203"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=125203"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=125203"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=125203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}