PHP Compatibility Index

Is Razorpay for WooCommerce compatible with PHP 8?

Version 4.8.8 · 100,000+ active installs · requires PHP 7.4

Works on PHP 8.0–8.5, with deprecation notices from 8.4

No removed PHP features found in Razorpay for WooCommerce 4.8.8. It uses 19 deprecated feature(s) that only log notices today.

PHP 8.0
✓
PHP 8.1
✓
PHP 8.2
✓
PHP 8.3
✓
PHP 8.4
⚠ 11
PHP 8.5
⚠ 19

✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version

Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.

Deprecated (works today, logs notices)

File:lineWhat
razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/cURL.php:124Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/cURL.php:179Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/fsockopen.php:84The "option_name" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/fsockopen.php:84The "value" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-1.8.0/library/Requests/Cookie.php:439Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $origin.
razorpay-sdk/libs/Requests-1.8.0/library/Requests/Transport/cURL.php:117Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-1.8.0/library/Requests/Transport/cURL.php:260Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-1.8.0/library/Requests/Transport/fsockopen.php:108The "option_name" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-1.8.0/library/Requests/Transport/fsockopen.php:108The "value" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-2.0.0/src/Cookie.php:472Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $origin.
razorpay-sdk/libs/Requests-2.0.0/src/Transport/Curl.php:127Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-2.0.0/src/Transport/Curl.php:310Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-2.0.0/src/Transport/Fsockopen.php:142The "option_name" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-2.0.0/src/Transport/Fsockopen.php:142The "value" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-2.0.4/src/Cookie.php:469Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $origin.
razorpay-sdk/libs/Requests-2.0.4/src/Transport/Curl.php:129Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-2.0.4/src/Transport/Curl.php:309Function curl_close() is deprecated since PHP 8.5
razorpay-sdk/libs/Requests-2.0.4/src/Transport/Fsockopen.php:142The "option_name" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4
razorpay-sdk/libs/Requests-2.0.4/src/Transport/Fsockopen.php:142The "value" parameter for function stream_context_set_option() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 8.4

Removed long ago or protected by a check (code that most likely never runs on PHP 8)

File:lineWhat
razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/fsockopen.php:179Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4 and is removed since PHP 8.0; $glue should be the first parameter and $pieces the second

Plugin page on WordPress.org: woo-razorpay