Hi @dspink
I can see there is a Javascript error on your checkout page. Here is the error:
Uncaught TypeError: (0 , r.isPhoneNumber) is not a function
Looking at the commit history of the WordPress github repo, it looks like that function was added in 2024. Are you able to upgrade your WordPress version to confirm if that resolves the issue?
I am going to recommend that removal of the isPhoneNumber in the next release as it has been problematic.
Kind Regards
Thread Starter
dspink
(@dspink)
Hi @mrclayton
Thanks for the response, at the moment we can’t update. Is there a version of your plugin we could roll back to that ‘may’ help for the time being?
TIA Darren
Hi @dspink
Version 3.3.97 would guarantee that the isPhoneNumber function is not used.
Another option is to use our 4.0.0 release candidate as it does not use the isPhoneNumber function. https://paymentplugins.com/documentation/stripe/releases/4.0.0/
Kind Regards
-
This reply was modified 1 month ago by
Clayton R.
Thread Starter
dspink
(@dspink)
Thank you, much appreciated
Thread Starter
dspink
(@dspink)
Hi, so when I rollback and do a test I get the following error:
Any help appreciated please.
2026-05-06T09:14:13+00:00 Critical Uncaught Error: Call to undefined method WC_Shipping_Rate::get_description() in /public_html/wp-content/plugins/woo-stripe-payment/src/Transformers/DataTransformer.php:273
Additional context
{
“error”: {
“type”: 1,
“file”: “public_html/wp-content/plugins/woo-stripe-payment/src/Transformers/DataTransformer.php”,
“line”: 273
},
“remote-logging”: true,
“backtrace”: [
“”,
TIA
Thread Starter
dspink
(@dspink)
Sorry full error:
2026-05-06T09:14:13+00:00 Critical Uncaught Error: Call to undefined method WC_Shipping_Rate::get_description() in public_html/wp-content/plugins/woo-stripe-payment/src/Transformers/DataTransformer.php:273
Additional context
{
"error": {
"type": 1,
"file": "public_html/wp-content/plugins/woo-stripe-payment/src/Transformers/DataTransformer.php",
"line": 273
},
"remote-logging": true,
"backtrace": [
"",
"#0 /home/u758014851public_html/wp-content/plugins/woo-stripe-payment/src/Transformers/DataTransformer.php(34): PaymentPlugins\Stripe\Transformers\DataTransformer->get_shipping_options_from_cart()",
"#1 /home/u758014851public_html/wp-content/plugins/woo-stripe-payment/includes/controllers/class-wc-stripe-controller-cart.php(188): PaymentPlugins\Stripe\Transformers\DataTransformer->transform_cart()",
"#2 /home/u758014851public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WC_Stripe_Controller_Cart->update_shipping_address()",
"#3 /home/u758014851public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()",
"#4 /home/u758014851public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()",
"#5 /home/u758014851public_html/wp-includes/rest-api.php(428): WP_REST_Server->serve_request()",
"#6 /home/u758014851public_html/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-rest-api.php(156): rest_api_loaded()",
"#7 /home/u758014851public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Rest_API->process_frontend_request()",
"#8 /home/u758014851public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#9 /home/u758014851public_html/wp-includes/plugin.php(517): WP_Hook->do_action()",
"#10 /home/u758014851public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()",
"#11 /home/u758014851public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()",
"#12 /home/u758014851public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#13 /home/u758014851public_html/wp-includes/plugin.php(517): WP_Hook->do_action()",
"#14 /home/u758014851public_html/wp-includes/template-loader.php(13): do_action()",
"#15 /home/u758014851public_html/wp-blog-header.php(19): require_once('/home/u75801485…')",
"#16 /home/u758014851public_html/index.php(17): require('/home/u75801485…')",
"#17 {main}",
"thrown"
]
}
Hi @dspink
I recommend using the release candidate for now and we will be releasing an update later today that removes the isPhoneNumber function.
The error you reported is because of the WooCommerce version you’re using.
Kind Regards
Hi @dspink
Version 3.3.107 has been released which removes references to isPhoneNumber.
Kind Regards