• Resolved siutek

    (@siutek)


    Hi,
    I have recently noticed that in the checkout view the option to pay by card has disappeared. So I changed the block layout to the old type checkout (shortocode). The card payment method has appeared, but it only contains one field: “Saving the card”. There is no field to enter your name or card number. There are a lot of errors in the developer’s console: “Uncaught TypeError: Cannot read properties of undefined (reading ‘checkoutModules’)”.

    Until recently, everything was working fine and I hadn’t changed anything on the site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @siutek

    I did come across a similar report in our GitHub repo here, but it sounds like there might be a conflict with another plugin or theme that’s causing the card payment option to disappear. The error you’re seeing in the developer’s console could be a symptom of this.

    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’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out 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.

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

    Thread Starter siutek

    (@siutek)

    I changed the theme to Storefront – it didn’t do anything.
    I disabled all plugins except WC and Stripe (and LiteSpeed Cache). The card fields appeared in the checkout view. I started enabling one plugin at a time checking which one was causing the problem?

    I did not find the cause. I switched all plugins back on and the card payment fields show up correctly.

    Previously, when this option was not working properly, I noticed that the problem occurred when the user was logged in. In the Incognito window everything was fine.

    Everything can be considered to be working as it should, but the cause has not been found and there is a risk that the error will return.

    Hi @siutek

    Everything can be considered to be working as it should

    That’s great to hear! Thanks for letting us know.

    I disabled all plugins except WC and Stripe (and LiteSpeed Cache)

    +

    the cause has not been found and there is a risk that the error will return.

    Just to note, any caching functionality best be temporarily disabled while testing.

    We’re happy to help, so please feel free to reach out to us again if you have any other questions.

    Thread Starter siutek

    (@siutek)

    The checkout and shopping cart pages are excluded from the cache rules. They cannot be cached.

    Hey, @siutek!

    The checkout and shopping cart pages are excluded from the cache rules. They cannot be cached.

    Thanks for clarifying ??

    Everything can be considered to be working as it should, but the cause has not been found and there is a risk that the error will return.

    If the issue returns, please let us know so we can assist you further.

    For now, since everything is working correctly, I’ll close this thread, okay?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.