• Resolved mamekichi

    (@mamekichi)


    Hi,

    After activating the “WooCommerce Stripe Gateway”plugin and this “WooCommerce Stripe Gateway”plugin, when I click the [Place Order] button, the following error message is displayed and the page does not move to the Thankyou page. Items remain in the shopping cart, but the order status transitions normally (Draft to on-Hold or Processing).
    Even though there is an error on the buyer’s side, the seller is not aware of it. This only occurs when using Checkout Blocks.

    FireFox 127.0.1 “t is undefined”
    Safari 17.5 (19618.2.12.11.6) “undefined is not an object (evaluating ‘t.match’)”
    Google Chrome1 26.0.6478.62 “Cannot read properties of undefined (reading ‘match’) “

    WooCommerce version: 9.0、8.9.3
    Storefront Version: 4.6.0
    WordPress version:6.5.4
    php:8.2.19
    WooCommerce Order Status Manager: 1.15.2
    WooCommerce Stripe Gateway:8.4.0

    • This topic was modified 1 year ago by mamekichi.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @mamekichi

    The error message you’re encountering usually indicates a JavaScript issue. Did you try with the checkout shortcode? Does this error persist?

    However, this problem is usually caused by a conflict with your theme or another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront or Twenty Twenty-Four
    • Disable all plugins except for WooCommerce and WooCommerce Stripe Gateway
    • Repeat the action that is causing the problem

    If you do not see the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To determine which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Rest assured, I tried replicating the error using the checkout block and Storefront theme. However, everything appears to be working correctly.

    I hope that helps! Let me know once you have done a conflict test!

    Thread Starter mamekichi

    (@mamekichi)

    Thank you @shameemreza 

    I wrote that it only occurs when using Checkout Bloloks.
    The problem does not occur when using shortcodes.
    The theme uses StoreFront. I also wrote this.

    The result is the same even if I enable only Woocomerce, WooCommerce Order Status Manager, and WooCommerce Stripe Gateway and disable the others.

    Additionally, if I choose COD, it will work fine.

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @mamekichi

    There seems to be a specific compatibility issue between the Checkout Blocks and the Stripe Gateway plugin. By “WooCommerce version: 9.0、8.9.3”, did you mean you’ve tried both versions or is 8.9.3 your WC database version?

    I tried replicating the issue on my testing site on Firefox but couldn’t. Can you try again disabling the WooCommerce Order Status Manager plugin too?

    If this makes no difference, I recommend creating a bug report in either WC core or Stripe’s GitHub repo here:

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight.

    Thread Starter mamekichi

    (@mamekichi)

    Hi @shameemreza

    I tried both 9.0 and 8.9.3 WooCommerce version.

    I tried changing the theme to Twenty Twenty-Four, but the result was the same.

    I tried again disabling WooCommerce Order Status Manager plugin, the problem did not occur and everything was normal. I’ll try to think of a way to avoid using this plugin.

    Hello mamekichi

    Thank you for your reply.

    I understand that you have found that disabling the WooCommerce Order Status Manager plugin solves the problem.

    I suggest reaching out to WooCommerce Order Status Manager plugin support and informing them about this issue. They might be able to resolve this without forcing you to look for an alternate plugin.

    Let me know if you have any other questions. 🙂

    Best regards.

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @mamekichi

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot read properties of undefined (reading ‘match’)’ is closed to new replies.