• Resolved madhukant

    (@madhukant)



    Getting the below error in the logs

    2024-01-20T20:49:22+00:00 CRITICAL Uncaught Error: Call to undefined method YITH_WC_Subscription_WC_Stripe::get_upe_enabled_at_checkout_payment_method_ids() in /home/uiwn1hnduwk8/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php:1300 Stack trace: #0 /home/uiwn1hnduwk8/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1420): WC_Stripe_Payment_Gateway->generate_create_intent_request(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(stdClass)) #1 /home/uiwn1hnduwk8/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php(415): WC_Stripe_Payment_Gateway->create_intent(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(stdClass)) #2 /home/uiwn1hnduwk8/public_html/wp-content/plugins/yith-woocommerce-subscription-premium/includes/gateways/woocommerce-gateway-stripe/class.yith-wc-subscription-wc-stripe.php(71): WC_Gateway_Stripe->process_payment(52411, true, true, in /home/uiwn1hnduwk8/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php on line 1300



    System Report is uploaded here:
    https://gist.github.com/madhukantmaurya/38df4327222da93301b1d6d92f999b49

    • This topic was modified 10 months, 1 week ago by madhukant.
    • This topic was modified 10 months, 1 week ago by madhukant.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter madhukant

    (@madhukant)

    I have also checked the webhooks and they are fine.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @madhukant,

    The error you’re encountering suggests that there might be a conflict between the WooCommerce Stripe Payment Gateway plugin and the YITH WooCommerce Subscription plugin. The undefined method get_upe_enabled_at_checkout_payment_method_ids() is likely part of the Stripe plugin, but it seems like the YITH Subscription plugin is trying to call it and failing.

    Does this error happen with subscription products or all types of products? Could you run a conflict test to help you identify the cause of the issue? More info: https://woo.com/document/how-to-test-for-conflicts/

    Additionally, I recommend reaching out to the support team of the YITH WooCommerce Subscription plugin, as they might have more insights on this specific error.

    Please try these steps and let us know how it goes. Looking forward to hearing from you!

    Thread Starter madhukant

    (@madhukant)

    Everything was working fine 4 days ago with the renewals as well. Suddenly this issue occurred and all the payments of stripe started failing

    Hey, @madhukant!

    Thanks for confirming this is happening with all Stripe payments.

    Are all your plugins and your theme updated?

    Were you able to do the conflict test as my colleague suggested to check if the issue persists?

    If you weren’t, let me share more details about it.

    To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.

    If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    — Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.

    — It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.

    You can find more about this in this guide.

    Please let us know about your findings.

    If the issue persists, please share the System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.

    Looking forward to your reply.

    Have a wonderful day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting ‘Error Processing Checkout’ error while placing the order’ is closed to new replies.