China Payments Plugin (Premium) 2.2.3

Does "China Payments Plugin (Premium)" work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
33PHP notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 728.18 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.231 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/wp-stripe-global-payments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

China Payments ‹ Test site — WordPress

Page screenshot: China Payments ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wpstripeglobal
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-stripe-global-payments%2Fwpstripeglobal.php&plugin_status=all&paged=1&s&_wpnonce=b123d550b5
Aspect after-activation
HTTP status 200
Load time 3.200 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

China Payments

Page screenshot: China Payments
URL /wp-admin/admin.php?page=wpstripeglobal
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.371 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "IntegrationError: Please call Stripe() with your publishable key. You used an empty string.\n    at Qa (https://js.stripe.com/v3/?ver=3.0.0&_=1630450469891:1:153322)\n    at new e (https://js.stripe.com/v3/?ver=3.0.0&_=1630450469891:1:215424)\n    at ms (https://js.stripe.com/v3/?ver=3.0.0&_=1630450469891:1:241097)\n    at Object.<anonymous> (/wp-content/plugins/wp-stripe-global-payments//_inc/js/wpstripeglobal.js?ver=1.0.4:6:22)\n    at c (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:28327)\n    at Object.fireWith [as resolveWith] (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:29072)\n    at l (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:79901)\n    at HTMLScriptElement.i (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:83436)\n    at HTMLScriptElement.dispatch (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:43064)\n    at HTMLScriptElement.v.handle (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:41048)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.292 s-0.002 s3.08 MiB3.87 MiB+ 803.2 KiB
/wp-admin/edit.php0.179 s0.360 s+0.181 s3.11 MiB3.9 MiB+ 805.23 KiB
/wp-admin/post-new.php0.880 s1.751 s+0.871 s5.27 MiB6.01 MiB+ 764.13 KiB
/wp-admin/upload.php0.546 s0.687 s+0.141 s3.03 MiB3.66 MiB+ 647.55 KiB
/wp-admin/options-writing.php0.168 s0.215 s+0.047 s3.02 MiB3.64 MiB+ 632.73 KiB
/wp-admin/media-new.php0.254 s0.371 s+0.117 s3.01 MiB3.64 MiB+ 649.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.253 s+0.078 s3.04 MiB3.82 MiB+ 803.07 KiB
/wp-admin/post-new.php?post_type=page0.731 s1.252 s+0.521 s5.26 MiB6 MiB+ 766.8 KiB
/wp-admin/options-discussion.php0.239 s0.585 s+0.346 s3 MiB3.64 MiB+ 649.86 KiB
/wp-admin/edit-comments.php0.215 s0.479 s+0.264 s3.04 MiB3.82 MiB+ 800.48 KiB
/0.345 s0.322 s-0.023 s2.91 MiB3.58 MiB+ 687.08 KiB
Average 0.366 s0.597 s+0.231 s3.43 MiB4.14 MiB+ 728.18 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
Language % Lines of code Comment lines Files
PHP51.3%37,24417,529132
PO File28.4%20,60211,85126
SVG7.8%5,66766
JavaScript4.6%3,33965912
CSS4.0%2,8843515
Sass3.9%2,8528034
Total 72,588 30,160 225

PHP Code Analysis | More results »

Lines of code 27,942
Total complexity 6,490
Median class complexity 17.5
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 54
Methods 1,284
Functions 173

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 64

PHP Error Log 33 lines

[31-Aug-2021 22:54:26 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 345
[31-Aug-2021 22:54:26 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:28 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:28 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:29 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:29 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:30 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:30 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:31 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:31 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:34 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:34 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:34 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:34 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:39 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:39 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
[31-Aug-2021 22:54:40 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 432
See also: All tests for this plugin, How to Hide the "China Payments" Admin Menu