• Resolved madaboutu

    (@madaboutu)


    Hi guys, massive issues with my store. If I dont input a Comany Name – the order does not hit Stripe – it does go to Pending Payment but no trace in stripe.

    I have tried to disable the Company Name field but orders fail, so unless it is compulsary then I am not able to accept orders. This is a huge issue as we sell online. can you advise?

    My host commented here…

    From what I can see in the WooCommerce logs, the issue is most likely related to the plugin itself.

    You can check the entry from the logs below:
    CRITICAL Uncaught Error: Call to a member function get_price() on bool in /home/harveygc/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:990
    Stack trace:
    #0 /home/harveygc/public_html/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php(287): wc_get_price_including_tax()
    #1 /home/harveygc/public_html/wp-includes/class-wp-hook.php(308): Automattic\WooCommerce\Pinterest\Tracking::hook_checkout_event()
    #2 /home/harveygc/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /home/harveygc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /home/harveygc/public_html/wp-content/themes/xstore/woocommerce/checkout/thankyou-advanced.php(27): do_action()
    #5 /home/harveygc/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/harveygc/…’)
    #6 /home/harveygc/public_html/wp-content/themes/xstore/woocommerce/checkout/thankyou.php(23): wc_get_template()
    #7 /home/harveygc/public_html/wp-content/plugins/woocommerce/inclu in /home/harveygc/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 990

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roxy

    (@roxannestoltz)

    Hi @madaboutu ,

    Thanks for reaching out!

    I’m sorry to hear that you’re experiencing issues with payments made via Stripe on your site, where orders that do not have the Company field filled, are not being completed successfully.

    As a first step, can you please clarify which plugin you are using to enable the Stripe payment gateway on your site?

    Additionally, please clarify the following:

    • Does this issue occur with other payment gateways/methods, or only Stripe?
    • Have previous payments via Stripe been successful, irrespective of the Company field being filled, and is this a new issue? Or is this the only behavior you have experienced when using Stripe?
    • Are there any error messages being displayed on checkout (with and without the Company field filled) – if yes, please can you share a screenshot of these?

    Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.

    CRITICAL Uncaught Error: Call to a member function get_price() on bool in /home/harveygc/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:990

    As for the error message you have shared, it appears that this is coming from the Pinterest for WooCommerce plugin. Can you try temporarily disabling this and see if it makes any difference?

    Also, in order for us to get a better understanding of your sites current environment, please can you share a copy of your System Status Report: navigate to?WooCommerce?→?Status. Select?Get system report?and then?Copy for support.

    Once you have this, please share the results in your response here.

    Cheers!

    Roxy

    (@roxannestoltz)

    Hi @madaboutu ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ORDERS FAIL IF NO COMPANY NAME SET’ is closed to new replies.