Modernization & Full Compatibility:
* Added support for WooCommerce Checkout Blocks (React-based checkout integration)
* Fully compatible with WordPress 6.5, 6.6 and PHP 8.2/8.3
* Declared all dynamic properties in WC_Payzah class for PHP 8.2+ compatibility
* Replaced legacy new WC_Order() with modern wc_get_order() for better reliability
* Added security nonces and AJAX referer checks for Private Key requests
* Complete Arabic translation update (payzah-ar.po/mo) for all new features
* Conditional loading of Blocks integration for 100% backward compatibility
* Fixed constant case inconsistency (PAYZAH_IMAGE_DIR)
Security Improvements:
* Added isset() checks for all $_GET, $_POST, and $_REQUEST access
* Replaced unsafe unserialize() with json_decode() for security
* Added backward compatibility fallback for existing serialized data
* Improved input validation and sanitization
Bug Fixes:
* Fixed undefined $selected_lang variable warning
* Replaced deprecated order_total property with get_total() method
* Fixed $_GET[‘key’] undefined index warning
* Fixed function signature for woocommerce_payzah_thankyou_title()
* Added proper isset checks for payment method and transaction type
Enhancements:
* Added HPOS (High-Performance Order Storage) compatibility
* Improved PHP 8.x compatibility
* Added comprehensive code quality tools (PHPCS, PHPStan)
* Updated WordPress and WooCommerce compatibility headers
* Improved error handling and logging
Code Quality:
* Configured WordPress Coding Standards (PHPCS)
* Configured PHPStan Level 5 static analysis
* Improved code documentation
* Better adherence to WordPress coding standards
Plugin Website
Visit website
Share Post
Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.