China Payments Plugin 2.2.2

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

Summary

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

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

Page speed impact: 0.079 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 7

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=527db42f2d
Aspect after-activation
HTTP status 200
Load time 6.212 s
Memory usage 4.04 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.199 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

China Payments → Affiliation

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

China Payments → Contact Us

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

China Payments → Support Forum

Page screenshot: China Payments → Support Forum
URL https://wordpress.org/support/plugin/wp-stripe-global-payments/
Requested URL /wp-admin/admin.php?page=wpstripeglobal-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 1.244 s
Memory usage N/A
JS errors None
Resource errors None

China Payments → Upgrade  ➤

Page screenshot: China Payments → Upgrade  ➤
URL /wp-admin/admin.php?page=wpstripeglobal-pricing
Aspect menu-item
HTTP status 200
Load time 0.820 s
Memory usage 3.71 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.519 s
Memory usage 3.57 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&_=1630448074192:1:153322)\n    at new e (https://js.stripe.com/v3/?ver=3.0.0&_=1630448074192:1:215424)\n    at ms (https://js.stripe.com/v3/?ver=3.0.0&_=1630448074192: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.462 s0.455 s-0.007 s3.08 MiB3.87 MiB+ 810.74 KiB
/wp-admin/edit.php0.197 s0.339 s+0.142 s3.11 MiB3.91 MiB+ 812.77 KiB
/wp-admin/post-new.php1.425 s1.249 s-0.176 s5.27 MiB6.02 MiB+ 771.67 KiB
/wp-admin/upload.php0.589 s0.375 s-0.214 s3.03 MiB3.67 MiB+ 655.09 KiB
/wp-admin/options-writing.php0.184 s0.220 s+0.036 s3.02 MiB3.65 MiB+ 640.27 KiB
/wp-admin/media-new.php0.253 s0.411 s+0.158 s3.01 MiB3.65 MiB+ 657.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.349 s+0.180 s3.04 MiB3.68 MiB+ 660.11 KiB
/wp-admin/post-new.php?post_type=page0.694 s1.147 s+0.453 s5.26 MiB6.01 MiB+ 774.34 KiB
/wp-admin/options-discussion.php0.219 s0.577 s+0.358 s3 MiB3.65 MiB+ 657.4 KiB
/wp-admin/edit-comments.php0.239 s0.251 s+0.012 s3.04 MiB3.83 MiB+ 808.02 KiB
/0.509 s0.434 s-0.075 s2.91 MiB3.57 MiB+ 676.69 KiB
Average 0.449 s0.528 s+0.079 s3.43 MiB4.14 MiB+ 720.41 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.0%37,42217,525132
PO File28.1%20,60211,85126
SVG7.9%5,80988
JavaScript5.3%3,87070313
CSS3.9%2,8843515
Sass3.9%2,8528034
Total 73,439 30,202 228

PHP Code Analysis | More results »

Lines of code 28,119
Total complexity 6,476
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function wpstripeglobal_form()
Classes 53
Methods 1,280
Functions 172

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 65

PHP Error Log 41 lines

[31-Aug-2021 22:14:22 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 179
[31-Aug-2021 22:14:22 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:26 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:27 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 911
[31-Aug-2021 22:14:27 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 911
[31-Aug-2021 22:14:27 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:27 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:28 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 911
[31-Aug-2021 22:14:28 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 911
[31-Aug-2021 22:14:28 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:29 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:30 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:32 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:33 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:34 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:35 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:37 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:38 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:39 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:39 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:40 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:41 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:41 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:41 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:41 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:41 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:42 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:42 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:42 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:42 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:43 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
[31-Aug-2021 22:14:44 UTC] PHP Notice:  Undefined variable: plugin_version in /wp-content/plugins/wp-stripe-global-payments/wpstripeglobal.php on line 385
See also: All tests for this plugin, How to Hide the "China Payments" Admin Menu