• Resolved Emil Dotsev

    (@edocev)


    Hello,

    We are working on an e-commerce website and are using Woo Payments to handle the Stripe transactions. Until recently, the gateway was working flawlessly.

    However, for a couple of days now, users have complained about getting a “Could not find a mounted element to create a payment method from” error when trying to complete a purchase with the Gateway.

    We managed to reproduce the issue on Chrome 118, but not on the latest Chrome 120. Originally the issue was reported on Safari.

    Furthermore, the problems seem to occur mostly for non-logged-in users and it doesn’t appear to be related to what type of purchase is done (As we run both standard and subscription-based purchases on the website)

    Any help in directing where to look, or if the issue has been fixed in the latest version would be greatly appreciated!

    Of course, more than happy to provide more details if needed!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Emil Dotsev,

    Thank you for contacting WooCommerce support.

    I appreciate the detailed information you’ve provided about the difficulties you’ve been experiencing with WooPayments. The error message “Could not find a mounted element to create a payment method from” is typically indicative of an issue with the payment gateway integration or a code-related problem influencing the payment method functionality.

    To help us diagnose and resolve this issue more effectively, it would indeed be very helpful to have a closer look at your System Status Report (SSR). You can obtain this report by navigating to WooCommerce > Status in your WordPress admin dashboard. Once there, click on “Get system report” and then “Copy for support.” Please paste this report in your follow-up response so we can perform a more thorough investigation.

    Additionally, if there are any fatal errors that could be related to your issue, those would be recorded in the logs. You can share a copy of the fatal error log with us by navigating to WooCommerce > System Status > Logs. This will give us a clearer indication of any underlying problems that might be prompting the error message for your users.

    With the SSR and any relevant logs, our team can analyze the situation with greater accuracy and offer you the guidance needed to correct this matter. Your cooperation and assistance in providing these details are greatly appreciated, and we’re here to work with you to ensure a swift resolution.

    Warm regards

    Thread Starter Emil Dotsev

    (@edocev)

    Hello and thank you for the prompt reply!

    Please find below the SSR -> https://gist.github.com/edocev/50aafdfb5f08660c3a13de077b8e081f

    As for fatal errors, we can see only one from the past few days, but it doesn’t seem to related to the payments: https://gist.github.com/edocev/91a8d39d1aee05c3f7089e7b9508368e

    Couldn’t find any errors/logs from the failed payments as well in the “Stripe Logs”. Maybe because the payment never completed and no order was created (not even failed order)

    Happy to provide more information if needed!

    Hi there @edocev ??

    The site’s System Status Report (SSR) reports that logging is enabled. Therefore, kindly see here where the logs can be found. Feel free to share them in a gist file, if the issue appears to be not directly obvious in them.

    The error log shared, appears to be related with an email customizer plugin, indeed.

    I hope this is helpful! Please let us know if you have any further questions or concerns.
    We will be happy to help you further!

    Thread Starter Emil Dotsev

    (@edocev)

    Hey there,

    I would be happy to present the log for one of the days. Can you please let me know if there’s any sensitive data there, as I can see card hash, email adresses and the like and I’m not sure how secure it is to post such information on public forum.

    Hi Emil,

    Thanks for getting back to us. I appreciate your willingness to share the System Status Report (SSR) with us. It will help us diagnose the issue and provide a solution.

    The SSR log contains some sensitive data, such as your site URL, WordPress version, active plugins, theme, server environment, and WooCommerce settings. However, it does not expose any personal or payment information, such as card hash, email addresses, or customer details. Those are encrypted and stored securely in your database.

    To share the SSR log safely, you can use the WooCommerce Status Report tool. This tool allows you to generate a report that you can copy and paste into your reply. It will automatically hide any sensitive data and replace it with asterisks. //woo-s

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once you have generated the SSR log using the WooCommerce Status Report tool, please reply to this thread with the report. We will review it and get back to you as soon as possible.

    Thread Starter Emil Dotsev

    (@edocev)

    Hey there, thank you!

    That’s the payment log from a few days ago when this was reproduced: https://gist.github.com/edocev/dfc166bce170da3a670c244eacc9315f

    Hey!

    I would be happy to present the log for one of the days. Can you please let me know if there’s any sensitive data there, as I can see card hash, email adresses and the like and I’m not sure how secure it is to post such information on public forum.

    We understand. The logs usually contain emails, last 4 numbers of cards and may contain phone numbers too. Please remove or retract any sensitive information from the logs before posting.

    If you feel more comfortable, you can also open a ticket and share it via email. Please make sure to add the link to this thread on the ticket so we can easily see the information that was already shared ??

    Have a wonderful day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error: “Could not find a mounted element to create a payment method from’ is closed to new replies.