• Resolved adriangzz

    (@adriangzz)


    Here is the error code:

    2020-09-03T03:16:45+00:00 CRITICAL Uncaught Error: Call to private WC_Stripe::__construct() from context 'WC_Payment_Gateways' in /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:94
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()
    #1 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()
    #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(838): WC_Payment_Gateways::instance()
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(139): WooCommerce->payment_gateways()
    #4 /var/www/html/wp-includes/class-wp-hook.php(287): WC_API->handle_api_requests(Object(WP))
    #5 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #7 /var/www/html/wp-includes/class-wp.php(388): do_action_ref_array('parse_request', Array)
    #8 /var en /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php en la línea 94

    Others are having the same problem as stated in the comments in this thread:
    https://www.ads-software.com/support/topic/stripe-webhook-failing/

Viewing 4 replies - 1 through 4 (of 4 total)
  • HI @adriangzz

    I got/get the same problem.

    First with this versions:
    WooCommerce Stripe Gateway Versión 4.5.2
    WooCommerce Version Versión 4.5.1
    WordPress 5.5.1

    And now:
    WooCommerce Stripe Gateway Versión 4.5.2
    WooCommerce Version Versión 4.5.2
    WordPress 5.5.1

    I thing is not a version problem

    the pluggin says that I have to have the following events fired in stripe’s webhook.
    Stripe is giving me communication errors in all of them.
    I activate as the pluggin says the following:
    payment_intent.amount_capturable_updated
    payment_intent.payment_failed
    payment_intent.succeeded
    review.closed
    review.opened
    charge.refunded
    charge.dispute.created
    charge.captured
    charge.failed
    charge.succeeded
    source.canceled
    source.chargeable

    Example of error:
    charge.succeeded => 500 (Internal Server Error)

    How can i resolve it?

    Thanks in advanced

    hi @jffaria , telegram dont accept my Argentinian telephone number to enter.

    is it possible talk here?

    Plugin Support Mike Straw

    (@mikestraw)

    @matiasmarchetti if you’re still having this issue, would you mind opening a new thread? While the errors may appear similar, they may have completely different causes, so separate threads will avoid confusion

    Feel free to link back here, though ??

    @adriangzz ,

    There are a couple potential causes I can think of:

    * The installation of Stripe is incomplete, or something is not right with the contents of the Stripe folder. Try deactivating and deleting the Stripe plugin (the settings should be preserved; this just deletes the files). Then download a fresh copy and reinstall it.
    * The WooCommerce database is outdated. While less likely, it always is worth making sure WooCommerce and the database are in sync. If there is a data update notice on your main WordPress dashboard page, follow this process to update it.

    There should be a [data update notice](https://docs.woocommerce.com/document/how-to-update-woocommerce/#section-11) on your main WordPress dashboard page.


    Link to image: https://docs.woocommerce.com/wp-content/uploads/2015/02/WC_database_update_required_39.png

    Let us know if that helps!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Webhook failing with error 500’ is closed to new replies.